简要描述:
请求域名:
- http://xx.com
请求URL:
GET/plugin.store-cashier.admin.store-clerk.get-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页数 |
store_name | 否 | string | 门店名称 |
store_uid | 否 | int | 店主会员id |
store_info | 否 | string | 店主昵称/姓名/手机号 |
clerk_uid | 否 | int | 核销员会员ID |
clerk_info | 否 | string | 核销员昵称/姓名/手机号 |
category_id | 否 | int | 门店分类 |
province_id | 否 | int | 省ID |
city_id | 否 | int | 市ID |
district_id | 否 | int | 区ID |
street_id | 否 | int | 街道ID |
start_time | 否 | string | 添加起始时间 |
end_time | 否 | string | 添加终止时间 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"total": 4,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 4,
"data": [
{
"id": 1,
"store_id": 5,
"realname": "1",
"mobile": "13112345678",
"status": 1,
"member_id": 17,
"member_avatar": "images/3/2018/01/u1TuWe8TE9G8ubSxBecU38E9WP8pbG.jpg",
"member_nickname": "cc",
"store_thumb": null,
"store_name": "111",
"province_city": "广东省广州市",
"address": "白云区新市街道机场路1600号",
"order_count": 1,
"order_money": 0.01
},
{
"id": 2,
"store_id": 5,
"realname": "11",
"mobile": "13112345678",
"status": 1,
"member_id": null,
"member_avatar": null,
"member_nickname": null,
"store_thumb": null,
"store_name": "111",
"province_city": "广东省广州市",
"address": "白云区新市街道机场路1600号",
"order_count": 0,
"order_money": 0
},
{
"id": 3,
"store_id": 5,
"realname": "1",
"mobile": "13112345678",
"status": 1,
"member_id": 24,
"member_avatar": "https://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132",
"member_nickname": "碳酸果汁",
"store_thumb": null,
"store_name": "111",
"province_city": "广东省广州市",
"address": "白云区新市街道机场路1600号",
"order_count": 0,
"order_money": 0
},
{
"id": 4,
"store_id": 1,
"realname": "1",
"mobile": "13112345678",
"status": 1,
"member_id": 1,
"member_avatar": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"member_nickname": "Joe",
"store_thumb": null,
"store_name": "bc的门店",
"province_city": "北京北京市",
"address": "东城区东华门街道百信广场",
"order_count": 0,
"order_money": 0
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 核销员id |
member_id | string | 核销员会员id |
member_avatar | string | 核销员会员头像 |
member_nickanme | string | 核销员会员昵称 |
realname | string | 姓名 |
mobile | string | 手机号 |
store_id | string | 门店id |
store_thumb | string | 门店图片 |
store_name | string | 门店名称 |
province_city | string | 所在省市 |
address | string | 详细地址 |
order_count | int | 累计核销订单数量 |
order_money | float | 累计核销订单金额 |
status | int | 1启用,0禁用 |
参数名 | 类型 | 说明 |
---|---|---|
data[total] | int | 核销员总数 |
备注:
- 更多返回错误代码请看首页的错误代码描述