CaptchaCacheKey 获取Captcha缓存Key
(req requests.Request, pageCode CaptchaPageCode)
| 46 | |
| 47 | // CaptchaCacheKey 获取Captcha缓存Key |
| 48 | func CaptchaCacheKey(req requests.Request, pageCode CaptchaPageCode) string { |
| 49 | return "WAF:CAPTCHA:FAILS:" + pageCode + ":" + req.WAFRemoteIP() + ":" + types.String(req.WAFServerId()) |
| 50 | } |
no test coverage detected