merchant - 商户接口
- api/merchant/getlist GET 获取列表
- api/merchant/get GET 获取指定信息
- api/merchant/create POST 新增
- api/merchant/update POST 修改
- api/merchant/delete POST 删除
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| businessScope | integer | |
| keyword | string | |
| pageIndex | integer | |
| pageSize | integer | |
| shopId | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- address | string | 地址 |
| ┆- businessScope | string | 经营范围 |
| ┆- code | string | 商户号 |
| ┆- enterTime | date | 入驻时间 |
| ┆- healthCardImages | string | 健康证照片 |
| ┆- id | integer | id |
| ┆- idCard | string | 身份证 |
| ┆- idCardImages | string | 身份证照片 |
| ┆- licenseImages | string | 经营许可证照片 |
| ┆- name | string | 姓名 |
| ┆- nation | string | 民族 |
| ┆- phone | string | 电话 |
| ┆- photo | string | 照片 |
| ┆- politicalAffiliation | string | 政治面貌 |
| ┆- sex | integer | 性别 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| stallIds | [...] | 摊位Id集合 |
| stalls | [...] | 摊位集合 |
| ┆- area | decimal number | 面积 |
| ┆- code | string | 摊位号 |
| ┆- id | integer | id |
| ┆- inUse | boolean | 启用 |
| ┆- location | string | 位置 |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- name | string | 名称 |
| ┆- rental | string | 租金 |
| ┆- shopId | integer | 门店id |
| ┆- shopName | string | 门店名称 |
| tagIds | [...] | 标签Id集合 |
| tags | [...] | 标签集合 |
| ┆- id | integer | id |
| ┆- name | string | 名称 |
| ┆- type | string | 1:自营; 2:联营; 4:租赁 |
| ┆- typeName | string | 类型名称 |
| pageIndex | integer | |
| pageSize | integer | |
| sumData | {...} | |
| ┆- address | string | 地址 |
| ┆- businessScope | string | 经营范围 |
| ┆- code | string | 商户号 |
| ┆- enterTime | date | 入驻时间 |
| ┆- healthCardImages | string | 健康证照片 |
| ┆- id | integer | id |
| ┆- idCard | string | 身份证 |
| ┆- idCardImages | string | 身份证照片 |
| ┆- licenseImages | string | 经营许可证照片 |
| ┆- name | string | 姓名 |
| ┆- nation | string | 民族 |
| ┆- phone | string | 电话 |
| ┆- photo | string | 照片 |
| ┆- politicalAffiliation | string | 政治面貌 |
| ┆- sex | integer | 性别 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| stallIds | [...] | 摊位Id集合 |
| stalls | [...] | 摊位集合 |
| ┆- area | decimal number | 面积 |
| ┆- code | string | 摊位号 |
| ┆- id | integer | id |
| ┆- inUse | boolean | 启用 |
| ┆- location | string | 位置 |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- name | string | 名称 |
| ┆- rental | string | 租金 |
| ┆- shopId | integer | 门店id |
| ┆- shopName | string | 门店名称 |
| tagIds | [...] | 标签Id集合 |
| tags | [...] | 标签集合 |
| ┆- id | integer | id |
| ┆- name | string | 名称 |
| ┆- type | string | 1:自营; 2:联营; 4:租赁 |
| ┆- typeName | string | 类型名称 |
| totalCount | integer |
响应示例
application/json, text/json
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| businessScope | string | 经营范围 |
| code | string | 商户号 |
| enterTime | date | 入驻时间 |
| healthCardImages | string | 健康证照片 |
| id | integer | id |
| idCard | string | 身份证 |
| idCardImages | string | 身份证照片 |
| licenseImages | string | 经营许可证照片 |
| name | string | 姓名 |
| nation | string | 民族 |
| phone | string | 电话 |
| photo | string | 照片 |
| politicalAffiliation | string | 政治面貌 |
| sex | integer | 性别 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| stallIds | [...] | 摊位Id集合 |
| stalls | [...] | 摊位集合 |
| ┆- area | decimal number | 面积 |
| ┆- code | string | 摊位号 |
| ┆- id | integer | id |
| ┆- inUse | boolean | 启用 |
| ┆- location | string | 位置 |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- name | string | 名称 |
| ┆- rental | string | 租金 |
| ┆- shopId | integer | 门店id |
| ┆- shopName | string | 门店名称 |
| tagIds | [...] | 标签Id集合 |
| tags | [...] | 标签集合 |
| ┆- id | integer | id |
| ┆- name | string | 名称 |
| ┆- type | string | 1:自营; 2:联营; 4:租赁 |
| ┆- typeName | string | 类型名称 |
响应示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"code": "",
"businessScope": "",
"name": "",
"sex": 6,
"nation": "",
"politicalAffiliation": "",
"phone": "",
"idCard": "",
"address": "",
"enterTime": "2026-01-15 10:11:07",
"photo": "",
"idCardImages": "",
"licenseImages": "",
"healthCardImages": "",
"stallIds": [
1,
2
],
"stalls": [
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
},
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
}
],
"id": 17
}
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| businessScope | string | 经营范围 |
| code | string | 商户号 |
| enterTime | date | 入驻时间 |
| healthCardImages | string | 健康证照片 |
| id | integer | id |
| idCard | string | 身份证 |
| idCardImages | string | 身份证照片 |
| licenseImages | string | 经营许可证照片 |
| name | string | 姓名 |
| nation | string | 民族 |
| phone | string | 电话 |
| photo | string | 照片 |
| politicalAffiliation | string | 政治面貌 |
| sex | integer | 性别 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| stallIds | [...] | 摊位Id集合 |
| stalls | [...] | 摊位集合 |
| ┆- area | decimal number | 面积 |
| ┆- code | string | 摊位号 |
| ┆- id | integer | id |
| ┆- inUse | boolean | 启用 |
| ┆- location | string | 位置 |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- name | string | 名称 |
| ┆- rental | string | 租金 |
| ┆- shopId | integer | 门店id |
| ┆- shopName | string | 门店名称 |
| tagIds | [...] | 标签Id集合 |
| tags | [...] | 标签集合 |
| ┆- id | integer | id |
| ┆- name | string | 名称 |
| ┆- type | string | 1:自营; 2:联营; 4:租赁 |
| ┆- typeName | string | 类型名称 |
请求示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"code": "",
"businessScope": "",
"name": "",
"sex": 6,
"nation": "",
"politicalAffiliation": "",
"phone": "",
"idCard": "",
"address": "",
"enterTime": "2026-01-15 10:11:07",
"photo": "",
"idCardImages": "",
"licenseImages": "",
"healthCardImages": "",
"stallIds": [
1,
2
],
"stalls": [
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
},
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
}
],
"id": 17
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| businessScope | string | 经营范围 |
| code | string | 商户号 |
| enterTime | date | 入驻时间 |
| healthCardImages | string | 健康证照片 |
| id | integer | id |
| idCard | string | 身份证 |
| idCardImages | string | 身份证照片 |
| licenseImages | string | 经营许可证照片 |
| name | string | 姓名 |
| nation | string | 民族 |
| phone | string | 电话 |
| photo | string | 照片 |
| politicalAffiliation | string | 政治面貌 |
| sex | integer | 性别 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| stallIds | [...] | 摊位Id集合 |
| stalls | [...] | 摊位集合 |
| ┆- area | decimal number | 面积 |
| ┆- code | string | 摊位号 |
| ┆- id | integer | id |
| ┆- inUse | boolean | 启用 |
| ┆- location | string | 位置 |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- name | string | 名称 |
| ┆- rental | string | 租金 |
| ┆- shopId | integer | 门店id |
| ┆- shopName | string | 门店名称 |
| tagIds | [...] | 标签Id集合 |
| tags | [...] | 标签集合 |
| ┆- id | integer | id |
| ┆- name | string | 名称 |
| ┆- type | string | 1:自营; 2:联营; 4:租赁 |
| ┆- typeName | string | 类型名称 |
请求示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"code": "",
"businessScope": "",
"name": "",
"sex": 6,
"nation": "",
"politicalAffiliation": "",
"phone": "",
"idCard": "",
"address": "",
"enterTime": "2026-01-15 10:11:07",
"photo": "",
"idCardImages": "",
"licenseImages": "",
"healthCardImages": "",
"stallIds": [
1,
2
],
"stalls": [
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
},
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"name": "",
"code": "",
"type": 1,
"typeName": "",
"location": "",
"area": 10.1,
"rental": "",
"inUse": true,
"tagIds": [
1,
2
],
"tags": [
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
],
"id": 13
}
],
"id": 17
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}
请求参数
| 无 |
|---|
请求示例
application/json, text/json
{}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}