mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
优化 优先级: 命令行 > 环境变量 > 默认值 功能
This commit is contained in:
@@ -22,7 +22,8 @@ type System struct {
|
||||
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"`
|
||||
ErrorToEmail bool `mapstructure:"error-to-email" json:"errorToEmail" yaml:"error-to-email"`
|
||||
ErrorToEmail bool `mapstructure:"error-to-email" json:"errorToEmail" yaml:"error-to-email"`
|
||||
ConfigEnv string `mapstructure:"config-env" json:"configEnv" yaml:"config-env"`
|
||||
}
|
||||
|
||||
type JWT struct {
|
||||
|
||||
Reference in New Issue
Block a user