将验证码配置到配置文件中 增加ie适配css

This commit is contained in:
QM303176530
2020-03-18 20:34:25 +08:00
parent 041b9e475a
commit 850d188e72
5 changed files with 23 additions and 15 deletions
+7
View File
@@ -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