Skip to content

Commit b4232a8

Browse files
authored
更新 captcha.go 注释拼写错误 (#2043)
1 parent 8d6dcc6 commit b4232a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/config/captcha.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ type Captcha struct {
44
KeyLong int `mapstructure:"key-long" json:"key-long" yaml:"key-long"` // 验证码长度
55
ImgWidth int `mapstructure:"img-width" json:"img-width" yaml:"img-width"` // 验证码宽度
66
ImgHeight int `mapstructure:"img-height" json:"img-height" yaml:"img-height"` // 验证码高度
7-
OpenCaptcha int `mapstructure:"open-captcha" json:"open-captcha" yaml:"open-captcha"` // 防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码
7+
OpenCaptcha int `mapstructure:"open-captcha" json:"open-captcha" yaml:"open-captcha"` // 防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码次数,如3代表错误三次后出现验证码
88
OpenCaptchaTimeOut int `mapstructure:"open-captcha-timeout" json:"open-captcha-timeout" yaml:"open-captcha-timeout"` // 防爆破验证码超时时间,单位:s(秒)
99
}

0 commit comments

Comments
 (0)