chore: stabilize lint and verify builds
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
- 数据验证:显示商品标题/价格(取 `price_amount` 等);创建订单成功跳转。
|
||||
- DB 验证:`orders` 新增一条(tenant_id、user_id、content_id 匹配)。
|
||||
|
||||
- **Payment** `/t/:tenantCode/payment/:orderId`(半成品)
|
||||
- 操作:轮询 `/status`,点击“立即支付”(调用 `/pay`),或“模拟支付成功”。
|
||||
- **Payment** `/t/:tenantCode/payment/:orderId`
|
||||
- 操作:点击“确认余额支付”(调用 `/pay`);如余额不足,先在钱包使用充值码充值再支付。
|
||||
- 数据验证:状态变为 paid/completed 后跳转订单详情;金额显示来自订单。
|
||||
- DB 验证:`orders.status` 更新;若 pay 未实现,可用模拟成功代替。
|
||||
- DB 验证:`orders.status` 更新为 paid/completed;`orders.amount_paid` 与页面一致。
|
||||
|
||||
- **Library** `/t/:tenantCode/me/library`
|
||||
- 操作:查看已购列表。
|
||||
@@ -58,9 +58,9 @@
|
||||
- DB 验证:`user_coupons.status`、`coupons` 配置匹配。
|
||||
|
||||
- **Wallet** `/t/:tenantCode/me/wallet`
|
||||
- 操作:查看余额、交易明细;(如有)充值入口。
|
||||
- 数据验证:余额 50 元(seed);交易明细含购买/充值记录。
|
||||
- DB 验证:`users.balance`、`tenant_ledgers`/交易记录一致。
|
||||
- 操作:查看余额、交易明细;使用充值码充值。
|
||||
- 数据验证:余额 50 元(seed);充值成功后余额增加;交易明细含购买/充值记录。
|
||||
- DB 验证:`users.balance`、`orders`、`tenant_ledgers` 一致。
|
||||
|
||||
- **Notifications** `/t/:tenantCode/me/notifications`
|
||||
- 操作:查看列表。
|
||||
@@ -78,9 +78,9 @@
|
||||
- 数据验证:进入 Dashboard;后续接口 200。
|
||||
|
||||
- **Dashboard/Orders/Finance/Users/Tenants/Reports/Health/Contents/Assets/System Configs/Audit Logs**
|
||||
- 操作:打开页面,查看列表/统计。
|
||||
- 数据验证:列表有种子数据;console 无 error。
|
||||
- DB 验证:对应表数据与显示一致(如 `orders`、`tenant_ledgers`、`contents`、`media_assets` 等)。
|
||||
- 操作:打开页面,查看列表/统计;在用户详情页执行超管充值与充值码生成。
|
||||
- 数据验证:列表有种子数据;console 无 error;充值成功后钱包与充值记录刷新。
|
||||
- DB 验证:对应表数据与显示一致(如 `orders`、`tenant_ledgers`、`recharge_codes`、`contents`、`media_assets` 等)。
|
||||
|
||||
- **Notifications (模板管理)** `/super/superadmin/notifications`
|
||||
- 操作:编辑模板并保存。
|
||||
|
||||
Reference in New Issue
Block a user