简要描述:
请求域名:
- http://xx.com
请求URL:
POST/plugin.instation-message.admin.message.get-member-level
传递的参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回的数据:
{
"result": 1,
"msg": "ok",
"data": {
"set": "普通会员1",
"levels": [
{
"id": 1,
"uniacid": 1,
"level": 1,
"level_name": "青铜会员",
"order_money": "10000",
"order_count": "111111",
"goods_id": "8,19,12,23,30",
"discount": "9",
"created_at": "2019-04-16 10:11:26",
"updated_at": "2020-03-16 15:30:41",
"deleted_at": null,
"is_default": 0,
"validity": 30,
"freight_reduction": "10",
"interests_rules": null,
"description": "",
"team_performance": "23232.00"
},
{
"id": 2,
"uniacid": 1,
"level": 2,
"level_name": "新等级",
"order_money": "1000000",
"order_count": "50",
"goods_id": "12,61,58,46,24",
"discount": "0.1",
"created_at": "2019-05-30 11:18:16",
"updated_at": "2020-03-16 15:29:50",
"deleted_at": null,
"is_default": 0,
"validity": 0,
"freight_reduction": "10",
"interests_rules": null,
"description": "",
"team_performance": null
}
]
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
set | string | 商城设置的默认等级名,等级id为0 |
levels.id | int | 等级id |
levels.level_name | int | 等级名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述