erio
ed8a9d975b
fix: batch 1 audit fixes — quota SQL fixed mode, public recharge URL, WebSearch bool fallback, UpdatePlan validation
H1: incrementUsageBillingAccountQuota now uses shared dailyExpiredExpr/weeklyExpiredExpr
constants (supporting fixed reset mode) instead of hardcoded '24 hours'/'168 hours'
H4: public settings endpoint now maps balance_low_notify_recharge_url
H6: GetWebSearchEmulationMode tolerates legacy bool values (true→enabled)
H7: UpdatePlan validates non-nil patch fields (rejects negative price, empty name, etc.)
H8: UsageTable accountBilled() helper with total_cost ?? 0 null guard
H9: AdminUsageLog TS type adds channel_id + billing_tier
M2: account.go "fixed" literals replaced with thresholdTypeFixed constant
M13: SystemSettings TS type adds web_search_emulation_enabled
UI: QuotaLimitCard title labels now use flex-1 to align with flex-1 input boxes
2026-04-14 09:32:11 +08:00
..
2026-02-14 11:56:08 +08:00
2026-04-14 09:32:11 +08:00
2026-04-11 13:16:35 +08:00
2026-04-14 09:32:11 +08:00
2026-04-10 17:55:37 +08:00
2026-04-14 09:30:51 +08:00
2026-04-11 13:16:35 +08:00
2026-04-14 09:25:50 +08:00
2025-12-29 19:38:33 +08:00
2026-04-14 09:32:11 +08:00
2026-04-14 09:26:08 +08:00
2026-04-14 09:31:08 +08:00
2026-03-18 14:02:00 +08:00
2026-02-28 15:01:20 +08:00
2026-04-13 19:24:33 +08:00