feat: 细化配置文件,不兼容性更新
This commit is contained in:
@@ -16,7 +16,7 @@ func init() {
|
||||
if e := config.Load(config.Options{
|
||||
Config: &Config,
|
||||
Default: &models.Config{
|
||||
From: models.LoginForm{
|
||||
Form: models.LoginForm{
|
||||
Domain: "www.msftconnecttest.com",
|
||||
UserType: "cmcc",
|
||||
},
|
||||
@@ -28,6 +28,12 @@ func init() {
|
||||
},
|
||||
Settings: models.Settings{
|
||||
Timeout: 1,
|
||||
Daemon: models.Daemon{
|
||||
Path: ".autoLogin",
|
||||
},
|
||||
Guardian: models.Guardian{
|
||||
Duration: 300,
|
||||
},
|
||||
},
|
||||
},
|
||||
Path: Flags.Path,
|
||||
|
||||
Reference in New Issue
Block a user