提交 0ed3b8c6 编写于 作者: L liaoyongfu

add captcha redis

上级 d0239056
......@@ -8,6 +8,8 @@ import (
"go.uber.org/zap"
)
// 当开启多服务器部署时,替换下面的配置,使用redis共享存储验证码
// var store = captcha.NewDefaultRedisStore()
var store = base64Captcha.DefaultMemStore
// @Tags Base
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册