This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/common/constant/redis_key.go
2024-09-29 15:46:35 +08:00

24 lines
563 B
Go

package constant
// 登录相关的redis key
const (
UserLoginSmsRedisKey = "user:sms:"
UserLoginTokenRedisKey = "user:token:"
UserLoginCaptchaRedisKey = "user:captcha:"
UserLoginClientRedisKey = "user:client:"
UserLoginQrcodeRedisKey = "user:qrcode:"
UserSessionRedisKey = "user:session:"
)
// 评论相关的redis key
const (
CommentSubmitCaptchaRedisKey = "comment:submit:captcha:"
CommentOfflineMessageRedisKey = "comment:offline:message:"
)
// 系统相关的redis key
const (
SystemApiNonceRedisKey = "system:controller:nonce:"
)