修复(后台假接口): 用户详情钱包夹具对齐 AdminProfileWalletPayload
- userDetail.wallet 去掉已删除的 balance 字段,补齐 totalBalance/dailyFreePoints/monthlyPoints/refundDebtPoints/userId - 与 recharge-orders 路由的 wallet helper、AdminUserDetailDialog 的读取字段保持一致,避免本地预览显示 undefined
This commit is contained in:
@@ -454,10 +454,14 @@ const userDetail = {
|
||||
createdAt: iso(60 * 24 * 120),
|
||||
lastLoginAt: iso(30),
|
||||
wallet: {
|
||||
balance: 1860,
|
||||
permanentPoints: 1200,
|
||||
userId: 'u_1001',
|
||||
totalBalance: 1860,
|
||||
spendableBalance: 1660,
|
||||
dailyFreePoints: 0,
|
||||
monthlyPoints: 0,
|
||||
permanentPoints: 1200,
|
||||
heldPoints: 200,
|
||||
refundDebtPoints: 0,
|
||||
walletFrozen: false,
|
||||
manualFrozen: false,
|
||||
refundDebtFrozen: false,
|
||||
|
||||
Reference in New Issue
Block a user