规则设置
POST
/webtenant/system/fx/group/ruleSet请求参数
Body 参数application/json
gradeList
array[object (GradeAo) {4}]
等级规则
commissionRatio
integer <int32>
商品佣金比例
>= 0<= 100
level
integer <int32>
等级值
>= 1<= 8
name
string
等级名
rewardRatio
integer <int32>
邀请人奖励比例
>= 0<= 100
id
integer <int64>
主键id
recruitmentPageContent
string
招募页内容
recruitmentPageSwitch
boolean
可选
招募页开关 true 打开 false 关闭
recruitmentPageTitle
string
招募页-页面标题
ruleBreakDay
integer <int32>
可选
解约规则-多少天无法登录
>= 1<= 127
ruleRecruitmentAudit
boolean
可选
招募规则-招募审核 true开启 false 关闭
ruleRecruitmentInviteJunior
boolean
可选
招募规则-邀请下级 true开启 false 关闭
ruleSettleAccountsDay
integer <int32>
结算周期,多少天内
>= 0<= 28
ruleSettleAccountsMonth
integer <int32>
结算周期,每月几号
>= 1<= 28
ruleSettleAccountsShare
boolean
可选
自购分佣 true 推广员自购可获得商品佣金 false 推广员自购不可获得商品佣金
示例
{
"gradeList": [
{
"commissionRatio": 0,
"level": 1,
"name": "string",
"rewardRatio": 0
}
],
"id": 0,
"recruitmentPageContent": "string",
"recruitmentPageSwitch": true,
"recruitmentPageTitle": "string",
"ruleBreakDay": 1,
"ruleRecruitmentAudit": true,
"ruleRecruitmentInviteJunior": true,
"ruleSettleAccountsDay": 0,
"ruleSettleAccountsMonth": 1,
"ruleSettleAccountsShare": true
}
示例代码
返回响应
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer <int32>
可选
msg
string
可选
traceId
string
可选
示例
{
"code": 0,
"msg": "string",
"traceId": "string"
}
最后修改时间: 11 小时前