fix: 对齐首充双倍展示状态
This commit is contained in:
@@ -2915,16 +2915,18 @@ fn build_profile_recharge_center_snapshot(
|
||||
.map(|row| row.wallet_balance)
|
||||
.unwrap_or(0);
|
||||
|
||||
let has_points_recharged = has_profile_points_recharged(ctx, user_id);
|
||||
|
||||
RuntimeProfileRechargeCenterSnapshot {
|
||||
user_id: user_id.to_string(),
|
||||
wallet_balance,
|
||||
membership: build_profile_membership_snapshot(ctx, user_id),
|
||||
point_products: runtime_profile_recharge_point_products(),
|
||||
point_products: resolve_runtime_profile_recharge_point_products(has_points_recharged),
|
||||
membership_products: runtime_profile_recharge_membership_products(),
|
||||
benefits: runtime_profile_membership_benefits(),
|
||||
latest_order: latest_profile_recharge_order(ctx, user_id)
|
||||
.map(|row| build_profile_recharge_order_snapshot_from_row(&row)),
|
||||
has_points_recharged: has_profile_points_recharged(ctx, user_id),
|
||||
has_points_recharged,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user