fix issues

This commit is contained in:
yanghao05
2023-02-01 18:50:59 +08:00
parent 5dd54b923d
commit 384677f071
9 changed files with 89 additions and 39 deletions

View File

@@ -1,6 +1,13 @@
[App]
Mode = "debug"
[Captcha]
KeyLong = 6
ImgWidth = 240 #验证码宽度
ImgHeight = 80 # 验证码高度
OpenCaptcha = 0 # 防爆破验证码开启此数0代表每次登录都需要验证码其他数字代表错误密码此数如3代表错误三次后出现验证码
OpenCaptchaTimeOut = 1h # 防爆破验证码超时时间单位s(秒)
[Storage]
Driver = "local"
@@ -90,7 +97,7 @@ Port = 3306
Database = "demos11"
Username = "root"
Password = "root"
Prefix=""
Prefix = ""
Singular = false
MaxIdleConns = 10
MaxOpenConns = 200