🎨 update code structure
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
package service
|
||||
|
||||
import "schisandra-cloud-album/model"
|
||||
import (
|
||||
"schisandra-cloud-album/model"
|
||||
"schisandra-cloud-album/service/impl"
|
||||
)
|
||||
|
||||
type CommentReplyService interface {
|
||||
CreateCommentReplyService(comment *model.ScaCommentReply) error
|
||||
UpdateCommentReplyCountService(replyId int64) error
|
||||
UpdateCommentLikesCountService(commentId int64, topicId string) error
|
||||
DecrementCommentLikesCountService(commentId int64, topicId string) error
|
||||
// GetCommentReplyService 获取评论回复
|
||||
GetCommentReplyService(uid string, topicId string, commentId int64, pageNum int, size int) *impl.CommentResponse
|
||||
// GetCommentListService 获取评论列表
|
||||
GetCommentListService(uid string, topicId string, pageNum int, size int, isHot bool) *impl.CommentResponse
|
||||
// CommentLikeService 评论点赞
|
||||
CommentLikeService(uid string, commentId int64, topicId string) bool
|
||||
// CommentDislikeService 评论取消点赞
|
||||
CommentDislikeService(uid string, commentId int64, topicId string) bool
|
||||
// SubmitCommentService 提交评论
|
||||
SubmitCommentService(comment *model.ScaCommentReply, topicId string, uid string, images []string) bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user