♻️ update code structure

This commit is contained in:
landaiqing
2024-10-01 17:31:05 +08:00
parent 4ec1ea40bb
commit fcbbbbabff
16 changed files with 491 additions and 322 deletions

View File

@@ -14,6 +14,10 @@ const (
const (
CommentSubmitCaptchaRedisKey = "comment:submit:captcha:"
CommentOfflineMessageRedisKey = "comment:offline:message:"
CommentLikeLockRedisKey = "comment:like:lock:"
CommentDislikeLockRedisKey = "comment:dislike:lock:"
CommentLikeListRedisKey = "comment:like:list:"
CommentUserListRedisKey = "comment:user:list:"
)
// 系统相关的redis key

View File

@@ -0,0 +1,6 @@
package enum
var (
CommentLike = 0
CommentDislike = 1
)