chore: 停止上传开发文档并同步代码
- 从仓库索引移除 开发文档/(本地保留) - 忽略 wechat/info.log 与 soul-api-linux - 同步小程序/管理端/API改动 Made-with: Cursor
This commit is contained in:
@@ -181,6 +181,12 @@ func computeSectionsWithHotScore(db *gorm.DB, setPinned bool) ([]sectionListItem
|
||||
}
|
||||
}
|
||||
}
|
||||
weightSum := readWeight + payWeight + recencyWeight
|
||||
if weightSum > 3 {
|
||||
readWeight = readWeight / weightSum
|
||||
payWeight = payWeight / weightSum
|
||||
recencyWeight = recencyWeight / weightSum
|
||||
}
|
||||
pinnedIDs := []string{}
|
||||
if setPinned {
|
||||
var cfg2 model.SystemConfig
|
||||
|
||||
Reference in New Issue
Block a user