+ user2/GetUsers
This commit is contained in:
@@ -85,8 +85,9 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) {
|
||||
"actStatusName": model.ActStatusName,
|
||||
"actCreateTypeName": model.ActCreateTypeName,
|
||||
"storeAuditStatusName": model.StoreAuditStatusName,
|
||||
"configTypeList": model.ConfigTypeList,
|
||||
"configTypeName": model.ConfigTypeName,
|
||||
"autoSaleAt": "20:45:00",
|
||||
"userTypeName": model.UserTypeName,
|
||||
},
|
||||
}
|
||||
Init()
|
||||
@@ -216,7 +217,7 @@ func checkConfig(configType, value string) (err error) {
|
||||
}
|
||||
}
|
||||
default:
|
||||
err = fmt.Errorf("当前只支持配置:%s, 传入的配置类型:%s", utils.Format4Output(model.ConfigTypeList, true), configType)
|
||||
err = fmt.Errorf("当前只支持配置:%s, 传入的配置类型:%s", utils.Format4Output(model.ConfigTypeName, true), configType)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user