mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-03 12:27:03 +08:00
Test: captcha
This commit is contained in:
@ -32,6 +32,7 @@ func Captcha(c *gin.Context) {
|
||||
util.SetSession(c, map[string]interface{}{
|
||||
"captchaID": idKeyD,
|
||||
})
|
||||
|
||||
// 将验证码图像编码为Base64
|
||||
base64stringD := base64Captcha.CaptchaWriteToBase64Encoding(capD)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user