fix: 修改套餐位置
Some checks failed
构建并部署前端到生产环境 / build-and-deploy (push) Failing after 53s

This commit is contained in:
sexygoat
2026-05-28 14:16:07 +08:00
5 changed files with 90 additions and 31 deletions

View File

@@ -1,29 +1,29 @@
## 1. Shared Payment Branching
- [ ] 1.1 Add shared front-end handling for Alipay `payment_link` responses alongside the existing WeChat `pay_config` flow
- [ ] 1.2 Ensure Alipay requests do not depend on `app_type` and existing WeChat requests continue to work unchanged
- [x] 1.1 Add shared front-end handling for Alipay `payment_link` responses alongside the existing WeChat `pay_config` flow
- [x] 1.2 Ensure Alipay requests do not depend on `app_type` and existing WeChat requests continue to work unchanged
## 2. Package Purchase Flow
- [ ] 2.1 Add Alipay as a selectable payment method in `pages/package-order/package-order.vue`
- [ ] 2.2 Handle normal package order payment responses for `wechat`, `wallet`, and `alipay`
- [ ] 2.3 Handle strong recharge branches that return `payment_link` for Alipay
- [x] 2.1 Add Alipay as a selectable payment method in `pages/package-order/package-order.vue`
- [x] 2.2 Handle normal package order payment responses for `wechat`, `wallet`, and `alipay`
- [x] 2.3 Handle strong recharge branches that return `payment_link` for Alipay
## 3. Order List Flow
- [ ] 3.1 Add an order-list payment entry that lets the user continue pending orders with Alipay
- [ ] 3.2 Refresh order list state from backend data after the user completes or retries the Alipay flow
- [x] 3.1 Add an order-list payment entry that lets the user continue pending orders with Alipay
- [x] 3.2 Refresh order list state from backend data after the user completes or retries the Alipay flow
## 4. Wallet Flow
- [ ] 4.1 Add Alipay as a selectable payment method in the wallet recharge popup
- [ ] 4.2 Handle Alipay recharge creation responses in `confirmRecharge`
- [ ] 4.3 Handle Alipay payment retries for pending recharge orders in `handleRechargePayment`
- [ ] 4.4 Refresh wallet detail and recharge list state from backend data after the Alipay flow
- [x] 4.1 Add Alipay as a selectable payment method in the wallet recharge popup
- [x] 4.2 Handle Alipay recharge creation responses in `confirmRecharge`
- [x] 4.3 Handle Alipay payment retries for pending recharge orders in `handleRechargePayment`
- [x] 4.4 Refresh wallet detail and recharge list state from backend data after the Alipay flow
## 5. Regression Verification
- [ ] 5.1 Verify WeChat package payment still uses `pay_config`
- [ ] 5.2 Verify wallet-balance package payment remains unchanged
- [ ] 5.3 Verify Alipay package payment, order-list payment, wallet recharge, and recharge retry can all open a valid payment link flow
- [ ] 5.4 Verify payment success is determined by refreshed backend status instead of the link jump result
- [x] 5.1 Verify WeChat package payment still uses `pay_config`
- [x] 5.2 Verify wallet-balance package payment remains unchanged
- [x] 5.3 Verify Alipay package payment, order-list payment, wallet recharge, and recharge retry can all open a valid payment link flow
- [x] 5.4 Verify payment success is determined by refreshed backend status instead of the link jump result