开启初始化配置 暂时修改为 配置文件控制

This commit is contained in:
pixel
2020-09-07 13:18:02 +08:00
parent 513259f65f
commit a8b01b6314
3 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ type System struct {
Env string `mapstructure:"env" json:"env" yaml:"env"`
Addr int `mapstructure:"addr" json:"addr" yaml:"addr"`
DbType string `mapstructure:"db-type" json:"dbType" yaml:"db-type"`
NeedInitData bool `mapstructure:"need-init-data" json:"needInitData" yaml:"need-init-data"`
}
type JWT struct {