fix: 修复付费机制失效处理的5个后端缺口

- 新增POST /payment/refund-notify支付宝退款Webhook
- 新增待支付订单自动清理(超过24h→cancelled, 含启动清理)
- 新增web登录码过期启动清理
- 永久会员用NULL替代硬编码2099-12-31
- 修复缺失的is_paid_active数据库函数(改用内联SQL)
This commit is contained in:
2026-05-25 12:07:01 +08:00
parent f9f1ffeff6
commit af2837e15e
5 changed files with 213 additions and 16 deletions

View File

@@ -38,6 +38,7 @@ pub use weather::post_weather_data;
pub use payment::alipay_notify;
pub use payment::alipay_pay_page;
pub use payment::alipay_refund_notify;
pub use payment::create_order;
pub use payment::generate_code;
pub use payment::get_user_quota;