将验证码配置到配置文件中 增加ie适配css
This commit is contained in:
@@ -13,6 +13,7 @@ type Config struct {
|
||||
RedisAdmin RedisAdmin `json:"redisAdmin"`
|
||||
System System `json:"system"`
|
||||
JWT JWT `json:"jwt"`
|
||||
Captcha Captcha `json:"captcha"`
|
||||
}
|
||||
|
||||
type System struct { // 系统配置
|
||||
@@ -47,6 +48,12 @@ type Qiniu struct { // 七牛 密钥配置
|
||||
SecretKey string `json:"secretKey"`
|
||||
}
|
||||
|
||||
type Captcha struct { // 验证码配置
|
||||
KeyLong int `json:"keyLong"`
|
||||
ImgWidth int `json:"imgWidth"`
|
||||
ImgHeight int `json:"imgHeight"`
|
||||
}
|
||||
|
||||
var GinVueAdminconfig Config
|
||||
var VTool *viper.Viper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user