修改套餐规则

This commit is contained in:
wuweihua
2026-10-28 18:10:10 +08:00
parent 2bd417b84e
commit 8ed7b3146b
21 changed files with 536 additions and 411 deletions
@@ -95,7 +95,7 @@ function findPrev(row) {
}
function pickDefault(prev) {
const d = new Date()
d.setHours(0, 0, 0, 0)
d.setHours(9, 0, 0, 0)
const now = formatHour(d)
if (!prev) return now
return toMs(now) >= toMs(prev) ? now : prev