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: '开启后,推广者的推广码被禁用(或缺失)时,其名下已绑定用户的新订单不再产生佣金;关闭则绑定关系继续生效' },
|
||||
],
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"generated_at": "2026-09-28T13:07:05+00:00",
|
||||
"generated_at": "2026-09-28T13:49:53+00:00",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"customPage tools-update section 'tools/update' not in PHP schema (ok if pure operational page)",
|
||||
@@ -232,7 +232,7 @@
|
||||
"entry": true,
|
||||
"missing_chunks": [],
|
||||
"chunks": [
|
||||
"SchemaPage.BlftdWHF.js",
|
||||
"SchemaPage.Bai0uPL7.js",
|
||||
"vendor-vue.BYzo-2I-.js",
|
||||
"FaIcon.B3OOcphx.js",
|
||||
"AksMediaField.DJPSTsh8.js",
|
||||
@@ -248,8 +248,8 @@
|
||||
"FloatingButtonsSettings.CLilEe8k.js",
|
||||
"PageHeader.jmNZVzHG.js",
|
||||
"FooterTabbarSettings.BFZnXJRS.js",
|
||||
"PostPageSettings.GaJR43Dg.js",
|
||||
"CommentSettings.DaHpPrbb.js",
|
||||
"PostPageSettings.B9iQMeXd.js",
|
||||
"CommentSettings.B3EoTCwT.js",
|
||||
"PermissionsCapabilities.Dwo7ED9D.js",
|
||||
"CmsCredits.BeYe9Q4u.js",
|
||||
"ThemeInfoPage.BEUFF9-H.js",
|
||||
|
||||
Reference in New Issue
Block a user