♻️ update code structure
This commit is contained in:
@@ -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
|
||||
|
6
common/enum/comment_like.go
Normal file
6
common/enum/comment_like.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package enum
|
||||
|
||||
var (
|
||||
CommentLike = 0
|
||||
CommentDislike = 1
|
||||
)
|
Reference in New Issue
Block a user