Skip to content

Commit

Permalink
chore: rename 树洞
Browse files Browse the repository at this point in the history
  • Loading branch information
ppolariss committed Aug 3, 2024
1 parent ea18611 commit 1066fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/floor/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func SearchConfig(c *fiber.Ctx) error {

func SearchFloorsOld(c *fiber.Ctx, query *ListOldModel) error {
if DynamicConfig.OpenSearch.Load() == false {
return common.Forbidden("树洞流量激增,搜索功能暂缓开放")
return common.Forbidden("茶楼流量激增,搜索功能暂缓开放")
}

floors, err := Search(c, query.Search, query.Size, query.Offset, false)
Expand Down
2 changes: 1 addition & 1 deletion models/floor.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (floor *Floor) SendSubscription(tx *gorm.DB) Notification {
Data: floor,
Recipients: userIDs,
Description: floor.Content,
Title: "您关注的树洞有新回复",
Title: "您关注的帖子有新回复",
Type: MessageTypeFavorite,
URL: fmt.Sprintf("/api/floors/%d", floor.ID),
}
Expand Down

0 comments on commit 1066fcb

Please sign in to comment.