简要描述:
请求域名:
请求URL:
post:member.member-level.update
提交请求返回示例:
{
"result":1,
"msg":"修改成功",
"data":{
"data":true
}
}
请求接口返回示例
{
"result":1,
"msg":"获取数据成功",
"data":{
"levelModel":{
"id":8,
"level":4,
"level_name":"等级四",
"order_money":"",
"order_count":"",
"goods_id":"1,6",
"discount":"34",
"validity":12,
"freight_reduction":"5",
"interests_rules":null,
"description":"<p>123132</p>",
"team_performance":"0.00",
"balance_recharge":"0.00",
"goods":[
{
"id":1,
"thumb":"http://www.liao.com/storage/app/avatars/store_applyUI8kHkiL8i",
"title":"门店经理",
"status_name":null
},
{
"id":6,
"thumb":"http://www.liao.com/storage/app/avatars/hotel_applyF5SFuYcSjh",
"title":"酒店管理",
"status_name":null
}
]
},
"shopSet":{
"level_type":"2",
"level_discount_calculation":"1"
}
}
}
参数:
参数名 |
类型 |
说明 |
levelModel |
object |
等级数据 |
level |
int |
等级权重 |
level_name |
string |
等级名称 |
order_money |
string |
订单金额满x元 |
order_count |
string |
订单数量满x元 |
goods_id |
string |
购买商品id |
validity |
int |
等级有效期 |
freight_reduction |
string |
运费减免 |
interests_rules |
text |
会员权益细则 |
team_performance |
string |
团队业绩满x元升级 |
balance_recharge |
string |
余额一次性充值满x元升级 |
discount |
string |
折扣 |
参数:
参数名 |
类型 |
说明 |
goods |
object |
商品数据 |
goods_id |
int |
购买商品id |
title |
string |
商品标题 |
thumb |
string |
商品图片 |
参数:
参数名 |
类型 |
说明 |
shopSet |
object |
设置数据 |
level_type |
string |
判断升级条件(为空/0==订单金额满,1==订单数量满,2==购买商品,3 团队业绩满,4==余额一次性充值满) |
level_discount_calculation |
string |
折扣/比例 (0=折, 1=%) |
备注: