后台管理端呈现会员快照、用户会员状态与三池命名
- 新增 config/membershipDisplay.ts 收敛档位与账期展示并供三处复用 - 用户详情对话框新增会员区块,钱包月度池改名「月度泥点」 - 充值订单列表与退款弹窗渲染会员变更快照 - 通用表浏览器补 profile_membership_plan 标签 - 补齐管理端类型、用例与本地假数据 Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
@@ -455,6 +455,19 @@ const userDetail = {
|
||||
manualFrozen: false,
|
||||
refundDebtFrozen: false,
|
||||
},
|
||||
membership: {
|
||||
plan: 'plus',
|
||||
status: 'active',
|
||||
cycleKind: 'monthly',
|
||||
cycleIndex: 2,
|
||||
cycleCount: 1,
|
||||
cycleGrantedPoints: 600,
|
||||
cycleRemainingPoints: 320,
|
||||
startedAtMicros: 1_790_640_000_000_000,
|
||||
expiresAtMicros: 1_793_232_000_000_000,
|
||||
cycleResetsAtMicros: 1_793_232_000_000_000,
|
||||
updatedAtMicros: 1_790_640_000_000_000,
|
||||
},
|
||||
rechargeOrders: [],
|
||||
restrictions: {},
|
||||
tags: ['vip', '内测'],
|
||||
@@ -617,7 +630,7 @@ function route(pathname, method, url) {
|
||||
totalBalance: 1_860,
|
||||
spendableBalance: 1_660,
|
||||
dailyFreePoints: 0,
|
||||
membershipLimitedPoints: 0,
|
||||
monthlyPoints: 0,
|
||||
permanentPoints: 1_200,
|
||||
heldPoints: 200,
|
||||
refundDebtPoints: 0,
|
||||
|
||||
Reference in New Issue
Block a user