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

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

@ -115,6 +115,12 @@ func (s *tweetManageSrv) StickPost(post *ms.Post) error {
return nil
}
func (s *tweetManageSrv) HighlightPost(userId, postId int64) (res int, err error) {
// TODO
debug.NotImplemented()
return
}
func (s *tweetManageSrv) VisiblePost(post *ms.Post, visibility core.PostVisibleT) error {
// TODO
debug.NotImplemented()
@ -313,6 +319,21 @@ func (s *tweetSrv) AttachmentByTweetId(userId int64, tweetId int64) (*cs.Attachm
return nil, debug.ErrNotImplemented
}
func (s *tweetSrv) ListUserStarTweets(user *cs.VistUser, limit int, offset int) ([]*ms.PostStar, int64, error) {
// TODO
return nil, 0, debug.ErrNotImplemented
}
func (s *tweetSrv) ListUserMediaTweets(user *cs.VistUser, limit int, offset int) ([]*ms.Post, int64, error) {
// TODO
return nil, 0, debug.ErrNotImplemented
}
func (s *tweetSrv) ListUserCommentTweets(user *cs.VistUser, limit int, offset int) ([]*ms.Post, int64, error) {
// TODO
return nil, 0, debug.ErrNotImplemented
}
func newTweetService(db *pgx.Conn) core.TweetService {
return &tweetSrv{
pgxSrv: newPgxSrv(db),

Loading…
Cancel
Save