add captcha redis
This commit is contained in:
parent
e82cfa6d26
commit
83465f4b10
|
@ -8,6 +8,8 @@ import (
|
|||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
// 当开启多服务器部署时,替换下面的配置,使用redis共享存储验证码
|
||||
// var store = captcha.NewDefaultRedisStore()
|
||||
var store = base64Captcha.DefaultMemStore
|
||||
|
||||
// @Tags Base
|
||||
|
|
Loading…
Reference in New Issue