Skip to content

Commit

Permalink
add missing web/dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
alimy committed Dec 30, 2023
1 parent 8967359 commit 55a3f2f
Show file tree
Hide file tree
Showing 23 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/core/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type TopicService interface {
TagsByKeyword(keyword string) (cs.TagInfoList, error)
GetHotTags(userId int64, limit int, offset int) (cs.TagList, error)
GetNewestTags(userId int64, limit int, offset int) (cs.TagList, error)
GetFollowTags(userId int64, is_pin bool, limit int, offset int) (cs.TagList, error)
GetFollowTags(userId int64, isPin bool, limit int, offset int) (cs.TagList, error)
FollowTopic(userId int64, topicId int64) error
UnfollowTopic(userId int64, topicId int64) error
StickTopic(userId int64, topicId int64) (int8, error)
Expand Down
4 changes: 2 additions & 2 deletions internal/dao/jinzhu/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ func (s *topicSrv) GetNewestTags(userId int64, limit int, offset int) (cs.TagLis
return s.tagsFormatA(userId, tags)
}

func (s *topicSrv) GetFollowTags(userId int64, is_pin bool, limit int, offset int) (cs.TagList, error) {
func (s *topicSrv) GetFollowTags(userId int64, isPin bool, limit int, offset int) (cs.TagList, error) {
if userId < 0 {
return nil, nil
}
userTopics := []*topicInfo{}
db := s.db.Model(&dbr.TopicUser{}).Order("is_top DESC").Limit(limit).Offset(offset)
if is_pin {
if isPin {
db = db.Where("user_id=? AND is_pin=1", userId)
} else {
db = db.Where("user_id=?", userId)
Expand Down
1 change: 1 addition & 0 deletions web/dist/assets/404-x31eybZD.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Anouncement-BKCrB4N4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Collection-zGgLSBDA.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Contacts-70p5eo25.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Following-T99T9Q8h.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Home-28LAfziN.js

Large diffs are not rendered by default.

Loading

0 comments on commit 55a3f2f

Please sign in to comment.