6 Commits

Author SHA1 Message Date
403cdd5de1 revert: 恢复原始支付流程——获取支付URL后直接新窗口跳转,移除QR码 2026-07-16 17:33:46 +08:00
149092a3a0 security: 移除第三方 qrserver.com,改用本地 qrcode 生成 QR 码 2026-07-16 17:25:34 +08:00
be119368c5 fix(unipay): register transfer_info.ui in load_path.py RBAC permissions 2026-07-16 12:58:30 +08:00
0266f9fb65 fix(wechat): handle API errors instead of silently returning null h5_url
- Check HTTP status code, raise exception on non-200
- Raise exception if h5_url missing from response
- Fix description field to use .get() instead of direct key access
- Remove unreachable return None

Previously WeChat API errors (param errors, amount issues, etc.)
would return None, causing the frontend to show:
  https://token.opencomputing.cn/null
Now errors are properly raised and shown to the user.
2026-07-15 17:04:21 +08:00
1773bce216 feat: disable wechat payment channel, keep alipay only
- Remove wechat from provider options
- Set alipay as default payment channel
- Only alipay is currently enabled for unipay
2026-05-30 13:27:23 +08:00
5a452c0052 feat: add load_path.py RBAC permission registration script 2026-05-27 13:16:11 +08:00