fix:增加config属性
1、能自定义是否在启动前检查网络 2、增加demo模式
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
package Modles
|
||||
|
||||
type Config struct {
|
||||
From LoginForm
|
||||
Meta LoginMeta
|
||||
type Settings struct {
|
||||
QuitIfNetOk bool `json:"quit_if_net_ok"`
|
||||
DemoMode bool `json:"demo_mode"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
From LoginForm `json:"from"`
|
||||
Meta LoginMeta `json:"meta"`
|
||||
Settings Settings `json:"settings"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user