fetch(modify):修改bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m45s

This commit is contained in:
sexygoat
2026-02-05 17:22:41 +08:00
parent d97dc5f007
commit b94c043a56
24 changed files with 2734 additions and 446 deletions

View File

@@ -21,17 +21,17 @@ export interface OneTimeCommissionTier {
* 套餐系列一次性佣金配置
*/
export interface SeriesOneTimeCommissionConfig {
enable: boolean // 是否启用一次性佣金
commission_type: 'fixed' | 'tiered' // 佣金类型:固定或梯度
enable?: boolean // 是否启用一次性佣金
commission_type?: 'fixed' | 'tiered' // 佣金类型:固定或梯度
commission_amount?: number // 固定佣金金额commission_type=fixed时使用
threshold: number // 触发阈值(分)
trigger_type: 'first_recharge' | 'accumulated_recharge' // 触发类型:首次充值或累计充值
threshold?: number // 触发阈值(分)
trigger_type?: 'first_recharge' | 'accumulated_recharge' // 触发类型:首或累计充值
tiers?: OneTimeCommissionTier[] | null // 梯度配置列表commission_type=tiered时使用
enable_force_recharge: boolean // 是否启用强充
enable_force_recharge?: boolean // 是否启用强充
force_amount?: number // 强充金额(分)
force_calc_type?: 'fixed' | 'dynamic' // 强充计算类型:固定或动态
validity_type: 'permanent' | 'fixed_date' | 'relative' // 时效类型:永久、固定日期或相对时长
validity_value?: string // 时效值(日期字符串或月数)
validity_type?: 'permanent' | 'fixed_date' | 'relative' // 时效类型:永久、固定日期或相对时长
validity_value?: string // 时效值(日期或月数)
}
/**