chore: 停止上传开发文档并同步代码

- 从仓库索引移除 开发文档/(本地保留)
- 忽略 wechat/info.log 与 soul-api-linux
- 同步小程序/管理端/API改动

Made-with: Cursor
This commit is contained in:
卡若
2026-03-17 15:25:26 +08:00
parent c6904e4a32
commit f9d5e85b4e
350 changed files with 2588 additions and 64437 deletions

View File

@@ -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