Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra

r/paopao-ce-xtra
Michael Li 1 year ago
commit cddf0b6d28
No known key found for this signature in database

@ -25,10 +25,9 @@ type commentManageSrv struct {
*pgxSrv *pgxSrv
} }
func (s *commentSrv) GetComments(conditions *ms.ConditionsT, offset, limit int) ([]*ms.Comment, error) { func (s *commentSrv) GetComments(tweetId int64, style cs.StyleCommentType, limit int, offset int) ([]*ms.Comment, int64, error) {
// TODO // TODO
debug.NotImplemented() return nil, 0, cs.ErrNotImplemented
return nil, nil
} }
func (s *commentSrv) GetCommentByID(id int64) (*ms.Comment, error) { func (s *commentSrv) GetCommentByID(id int64) (*ms.Comment, error) {
@ -43,12 +42,6 @@ func (s *commentSrv) GetCommentReplyByID(id int64) (*ms.CommentReply, error) {
return nil, nil return nil, nil
} }
func (s *commentSrv) GetCommentCount(conditions *ms.ConditionsT) (int64, error) {
// TODO
debug.NotImplemented()
return 0, nil
}
func (s *commentSrv) GetCommentContentsByIDs(ids []int64) ([]*ms.CommentContent, error) { func (s *commentSrv) GetCommentContentsByIDs(ids []int64) ([]*ms.CommentContent, error) {
// TODO // TODO
debug.NotImplemented() debug.NotImplemented()

Loading…
Cancel
Save