shop - 门店接口
- api/shop/getlist GET 获取门店分页列表
- api/shop/get GET 根据id获取门店信息
- api/shop/create POST 新增
- api/shop/update POST 修改
- api/shop/delete POST 删除
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| keyword | string | |
| memberInUse | int | |
| pageIndex | int | |
| pageSize | int |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| pageIndex | int | |
| pageSize | int | |
| sumData | {...} | |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| totalCount | int |
响应示例
application/json, text/json
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| appKey | string | AppKey |
| appSecret | string | AppSecret |
| city | string | 市 |
| code | string | 编码 |
| distance | decimal number | 距离 |
| district | string | 区 |
| id | int | |
| imagePath | string | 照片 |
| intro | string | 简介 |
| lBSPoint | string | 坐标 |
| memberInUse | boolean | 线上会员是否启用 |
| name | string | 名称 |
| phone | string | 电话 |
| province | string | 省 |
| shopArea | decimal number | 面积 |
| shopTag | string | 门店标签 |
| tenantId | int |
响应示例
application/json, text/json
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| appKey | string | AppKey |
| appSecret | string | AppSecret |
| city | string | 市 |
| code | string | 编码 |
| distance | decimal number | 距离 |
| district | string | 区 |
| id | int | |
| imagePath | string | 照片 |
| intro | string | 简介 |
| lBSPoint | string | 坐标 |
| memberInUse | boolean | 线上会员是否启用 |
| name | string | 名称 |
| phone | string | 电话 |
| province | string | 省 |
| shopArea | decimal number | 面积 |
| shopTag | string | 门店标签 |
| tenantId | int |
请求示例
application/json, text/json
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| appKey | string | AppKey |
| appSecret | string | AppSecret |
| city | string | 市 |
| code | string | 编码 |
| distance | decimal number | 距离 |
| district | string | 区 |
| id | int | |
| imagePath | string | 照片 |
| intro | string | 简介 |
| lBSPoint | string | 坐标 |
| memberInUse | boolean | 线上会员是否启用 |
| name | string | 名称 |
| phone | string | 电话 |
| province | string | 省 |
| shopArea | decimal number | 面积 |
| shopTag | string | 门店标签 |
| tenantId | int |
请求示例
application/json, text/json
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
请求示例
application/json, text/json
{
"id": 1
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}