diff --git a/internal/dao/sakila/comments.go b/internal/dao/sakila/comments.go index 9ce5efe3..16223ec4 100644 --- a/internal/dao/sakila/comments.go +++ b/internal/dao/sakila/comments.go @@ -7,6 +7,7 @@ package sakila import ( "github.com/jmoiron/sqlx" "github.com/rocboss/paopao-ce/internal/core" + "github.com/rocboss/paopao-ce/internal/core/cs" "github.com/rocboss/paopao-ce/internal/dao/sakila/yesql/cc" "github.com/rocboss/paopao-ce/pkg/debug" ) @@ -56,6 +57,11 @@ func (s *commentSrv) GetCommentContentsByIDs(ids []int64) ([]*core.CommentConten return nil, nil } +func (s *commentSrv) GetCommentThumbsMap(tweetId int64) (cs.CommentThumbsMap, cs.CommentThumbsMap, error) { + // TODO + return nil, nil, debug.ErrNotImplemented +} + func (s *commentSrv) GetCommentRepliesByID(ids []int64) ([]*core.CommentReplyFormated, error) { // TODO debug.NotImplemented() @@ -92,6 +98,26 @@ func (s *commentManageSrv) CreateCommentContent(content *core.CommentContent) (* return nil, nil } +func (s *commentManageSrv) ThumbsUpComment(userId int64, tweetId, commentId int64) error { + // TODO + return debug.ErrNotImplemented +} + +func (s *commentManageSrv) ThumbsDownComment(userId int64, tweetId, commentId int64) error { + // TODO + return debug.ErrNotImplemented +} + +func (s *commentManageSrv) ThumbsUpReply(userId int64, tweetId, commentId, replyId int64) error { + // TODO + return debug.ErrNotImplemented +} + +func (s *commentManageSrv) ThumbsDownReply(userId int64, tweetId, commentId, replyId int64) error { + // TODO + return debug.ErrNotImplemented +} + func newCommentService(db *sqlx.DB) core.CommentService { return &commentSrv{ sqlxSrv: newSqlxSrv(db),