简要描述:
请求域名:
- http://xx.com
请求URL:
GET/plugin.store-cashier.admin.store-manage.get-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页数 |
store_name | 否 | string | 门店名称 |
member_id | 否 | int | 店主会员id |
member_info | 否 | string | 店主昵称/姓名/手机号 |
boss_uid | 否 | int | 老板会员ID |
boss_info | 否 | string | 老板昵称/姓名/手机号 |
category_id | 否 | int | 门店分类 |
validity_status | 否 | string | 入驻状态(传字符型),"0"入驻中,"1"已过期 |
is_chain | 否 | string | 是否连锁店(传字符型),"0"否,"1"是 |
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": {
"count": {
"normal": 9,
"total": 9,
"expired": 0
},
"list": {
"total": 9,
"per_page": 2,
"current_page": 1,
"last_page": 5,
"next_page_url": "http://cc.com/web/index.php?page=2",
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 10,
"store_name": "肥仔的店铺",
"thumb": "http://dev3.yunzshop.com/attachment/images/3/2017/12/v9c88mf58Pc8pj94M0pn1FrPHp8f15.jpg",
"address": "白云区松洲街道2号",
"uid": 12,
"mobile": "02029887688",
"province_city": "广东省广州市",
"category_name": "分类一",
"member_avatar": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmDGnkn8ZYBlkkcnqeUiaebgZrF1pznnjuohrZgr3d6uaDHvadKedqhVurmb2sEIB3MfhrsaRtImcLPPPmBNsmFF1/132",
"member_nickanme": "肥仔",
"time": "2017-12-18",
"cashier_money": "505.00",
"store_money": "705.00",
"cashier_unsettlement": "12.80",
"store_unsettlement": "145.00"
},
{
"id": 9,
"store_name": "肥仔的点",
"thumb": "http://dev3.yunzshop.com/attachment/images/3/2017/12/v9c88mf58Pc8pj94M0pn1FrPHp8f15.jpg",
"address": "新吴区旺庄1600号",
"uid": 36,
"mobile": "02029887688",
"province_city": "江苏省无锡市",
"category_name": "分类一",
"member_avatar": "https://wx.qlogo.cn/mmopen/yFAViaTLylmttibFETWbFbueOIBdMaAJtmAbvCzqQLE3zVJg40l5N8lf5V5IqxVj61noGmZxicZr9m3MLkzyjKdevI82icz3x9zJ/0",
"member_nickanme": "麦兜兜",
"time": "2017-12-18",
"cashier_money": "3.00",
"store_money": "3.00",
"cashier_unsettlement": 0,
"store_unsettlement": "0.00"
}
]
}
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
count | array | 统计数组 |
total | int | 门店总数 |
normal | int | 入驻中 |
expired | int | 已过期 |
参数名 | 类型 | 说明 |
---|---|---|
list | array | 门店列表数组 |
id | int | 门店id |
store_name | string | 门店名称 |
time | string | 入驻时间 |
province_city | string | 所在省市 |
address | string | 详细地址 |
mobile | string | 门店电话 |
category_name | string | 门店分类 |
member_avatar | string | 门店店长头像 |
member_nickanme | string | 门店店长昵称 |
cashier_money | float | 累计实收款金额:收银台 |
store_money | float | 累计实收款金额:门店 |
cashier_unsettlement | float | 未结算金额:收银台 |
store_unsettlement | float | 未结算金额:门店 |
备注:
- 更多返回错误代码请看首页的错误代码描述