feat(listing): 公共筛选新增日消耗区间(高级筛选)

This commit is contained in:
yml2213
2026-08-15 13:32:01 +08:00
parent 096121a8cd
commit 51c3f2767f
11 changed files with 65 additions and 0 deletions
@@ -130,6 +130,9 @@ func canListPublicWithSQL(query PublicListQuery) bool {
if query.MinFireLevel != nil || query.MaxFireLevel != nil || query.MinSecretKD != nil || query.MaxSecretKD != nil {
return false
}
if query.MinDailyLoss != nil || query.MaxDailyLoss != nil {
return false
}
switch query.Sort {
case "", "published", "recommended", "comprehensive", "priceAsc", "priceDesc", "coinDesc":
return true