add comment verification

This commit is contained in:
landaiqing
2024-09-26 01:13:06 +08:00
parent 97175c3d67
commit 372835296d
14 changed files with 228 additions and 98 deletions

View File

@@ -1,6 +1,7 @@
package constant
const (
// 登录相关的redis key
UserLoginSmsRedisKey = "user:sms:"
UserLoginTokenRedisKey = "user:token:"
UserLoginCaptchaRedisKey = "user:captcha:"
@@ -8,3 +9,8 @@ const (
UserLoginQrcodeRedisKey = "user:qrcode:"
UserSessionRedisKey = "user:session:"
)
// 登录之后
const (
CommentSubmitCaptchaRedisKey = "comment:submit:captcha:"
)