数据表:ims_yz_agent_earnings_config(代理商收益管理--基础设置表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer | - | 非空、自增 | |
uniacid | integer | - | 非空 | |
is_open | boolean | 1 | 非空 | 插件状态:0-关闭,1-开启 |
is_price_difference_reward | boolean | 1 | 非空 | 是否开启差价奖励:1-开启,0-关闭 |
settlement_node | boolean | 1 | 非空 | 结算事件:1-支付完成后,2-订单完成后 |
upgrade_mode | boolean | 1 | 非空 | 升级方式:1-或,2-与 |
settlement_days | integer | - | - | 结算天数 |
agent_upgrade_message | integer | 0 | 非空 | 代理商等级升级通知 |
agent_anticipated_income_message | integer | 0 | 非空 | 代理商预计收益通知 |
commission_settlement_message | integer | 0 | 非空 | 佣金结算通知 |
created_at | integer | 0 | 非空 | |
updated_at | integer | 0 | 非空 | |
deleted_at | integer | - | - | |
is_hierarchy_reward | boolean | 1 | 非空 | 是否开启平级奖励:0-关闭,1-开启 |
hierarchy_anticipated_income_message | integer | 0 | 非空 | 平级预计收益通知 |
hierarchy_settlement_message | integer | 0 | 非空 | 平级奖结算通知 |
merchant_dividend_enabled | boolean | 0 | 非空 | 是否开启招商分红:1-开启,0-关闭 |
merchant_dividend_value | decimal | 0.00 | 非空 | 招商分红值 |
hierarchy_performance | boolean | 0 | 非空 | 平级业绩统计:1-开启,0-关闭 |
hierarchy_reward_way | boolean | 0 | 非空 | 平级奖励扣除途径 |
hierarchy_calculation_mode | integer | 0 | 非空 | 奖励计算方式 |
difference_reward_tier_limit | integer | 0 | 非空 | 差价奖励层级限制 |
surpass_hierarchy_levels | string(50) | - | 非空 | 超越获得平级奖,逗号分割 |
