ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 添加分销会员等级 **请求URL:** - `/adminapi/distribution.distribution_level/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id|是 |integer |等级id | **默认等级返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 1, "name": "默认等级", "weights": 1, "first_ratio": 0, "second_ratio": 0, "self_ratio": 0, "remark": "默认等级" } } ``` **自定义等级返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 23, "name": "王者分销会员", "weights": 6, "first_ratio": 30, "second_ratio": 20, "self_ratio": 5, "remark": "最高级别", "update_relation": 1, "update_condition": { "singleConsumptionAmount": "1000.00", "cumulativeConsumptionAmount": "5000.00", "cumulativeConsumptionTimes": 10, "returnedCommission": "800.00" } } } ``` **返回参数:** |参数名 |类型 |说明 | |:--| |name |string |等级名称 | |weights |integer |等级级别 须大于1 | |self_ratio |decimal |自购佣金比例 1-100之间,保留2位小数| |first_ratio |decimal |一级佣金比例 1-100之间,保留2位小数| |second_ratio |decimal |二级佣金比例 1-100之间,保留2位小数| |update_relation |integer |升级关系 1-满足任意条件 2-满足全部条件| |update_condition |array |升级条件,至少传一个条件| |singleConsumptionAmount |decimal |单笔消费金额| |cumulativeConsumptionAmount |decimal |累计消费金额| |cumulativeConsumptionTimes |integer |累计消费次数| |returnedCommission |decimal |已结算佣金收入| |update_condition |array |升级条件| |remark |string |等级备注 |