简要描述:
请求域名:
- http://xx.com
请求URL:
GET/plugin.store-cashier.admin.store-manage.get-store-one
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 门店id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"id": 1,
"uid": 5,
"store_name": "bc的门店",
"thumb": "http://cc.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"category_id": 1,
"province_id": 110000,
"city_id": 110100,
"district_id": 110101,
"street_id": 110101001,
"address": "百信广场",
"longitude": "113.266943",
"latitude": "23.191411",
"mobile": "15219025049",
"store_introduce": "门店介绍",
"salers": {
"1": {
"openid": "or2pXwV2RQk69uTjrq3NOq6MzjT8",
"uid": "1",
"nickname": "Joe",
"avatar": "http://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132"
}
},
"business_hours_start": " ",
"business_hours_end": "11:00",
"aptitude_imgs": null,
"dispatch_type": [
"1",
"2",
"3"
],
"affiche": "",
"information": "<p><img src=\"http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/jutuMbcmkqhI7TXcticeK3HrtMsmqT.jpg\" width=\"100%\" alt=\"t016c79be17726acd96.jpg\"/>543543</p>",
"banner_thumb": "https://test-1251768088.cosgz.myqcloud.com/images/3/2018/01/EZxXZl7L1EzmBnHC077a3xmmT06L7F.jpg",
"operating_state": 0,
"boss_uid": 0,
"collect_money_url": null,
"member_avatar": "https://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
"member_nickname": "Lily",
"boss_nickname": null,
"boss_avatar": null
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 门店id |
store_name | int | 门店名称 |
thumb | string | 门店logo |
banner_thumb | string | 门店banner图 |
category_id | string | 分类id |
province_id | string | 省id |
city_id | string | 市id |
district_id | string | 区id |
street_id | string | 街道id |
address | string | 详细地址 |
longitude | string | 经度 |
latitude | string | 纬度 |
mobile | string | 店铺电话 |
store_introduce | string | 门店介绍 |
business_hours_start | string | 营业时间起 |
business_hours_end | string | 营业时间止 |
aptitude_imgs | array | 资质 |
affiche | string | 公告 |
boss_uid | int | 连锁店老板id |
uid | int | 门店店长id |
operating_state | int | 经营状态,0经营,1休息 |
dispatch_type | array | 配送方式 |
salers | array | 通知人 |
information | string | 门店详情 |
备注:
- 更多返回错误代码请看首页的错误代码描述