fix(revenue): drop dead affiliate_settlement_days field from JS schema
The immediate-credit model removed settlement, but only the PHP schema side was cleaned. The JS admin schema still rendered a savable-but-unread "结算观察期" field. Remove it from both the defaults and field list, and rebuild the admin SPA bundle so it no longer surfaces.
This commit is contained in:
@@ -26,7 +26,6 @@ export const affiliateSchema = {
|
||||
pay_rebate_ratio_vip_1: 10,
|
||||
pay_rebate_user_s_2: ['all'],
|
||||
pay_rebate_ratio_vip_2: 20,
|
||||
affiliate_settlement_days: 7,
|
||||
affiliate_disabled_code_stops_commission: false,
|
||||
referral_attribution_model: 'first_touch',
|
||||
pay_rebate_text_desc: '加入分享计划,获得高额奖励',
|
||||
@@ -152,7 +151,6 @@ export const affiliateSchema = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{ key: 'affiliate_settlement_days', label: '结算观察期(天)', type: 'number', default: 7, min: 0, max: 90, dependsOn: { key: 'pay_rebate_s', value: true }, help: '订单完成后经过观察期,佣金才会结算到可提现余额' },
|
||||
{ key: 'affiliate_disabled_code_stops_commission', label: '推广码禁用后停止返佣', type: 'switch', default: false, dependsOn: { key: 'pay_rebate_s', value: true }, help: '开启后,推广者的推广码被禁用(或缺失)时,其名下已绑定用户的新订单不再产生佣金;关闭则绑定关系继续生效' },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user