商城列表
Path: /optimus/core/open/mall/queryMallList
调用示例
curl --location 'https://open-api.shouqianba.com/optimus/core/open/mall/queryMallList' \
--header 'Authorization: 2025082700005615 30a0cc58f589049d1fe1c89f6c5317df' \
--header 'Content-Type: application/json' \
--data '{"appid":"2025082700005615","filter":{"seller":{"merchantId":"1c904b2d-f056-4afa-a819-0328a4774320","merchantUserId":"6ce169d1-1289-4e98-b4a3-ea8b6145046f","role":"super_admin"}},"sort":{"sortField":"id","sort":"DESC"},"cursor":{"cursorField":"id","endCursor":null,"count":10}}'
入参说明(JSON 格式)
入参整体结构:
| 字段 | 类型 | 描述 |
|---|---|---|
| appid | String | 应用ID |
| filter | Object | 筛选条件 |
| sort | Object | 排序条件 |
| cursor | Object | 分页游标 |
filter 字段明细:
| 字段 | 类型 | 描述 |
|---|---|---|
| seller | Object | 商户信息 |
seller 字段明细:
| 字段 | 类型 | 描述 |
|---|---|---|
| merchantId | String | 商户ID |
| merchantUserId | String | 商户用户ID |
| role | String | 角色 |
cursor 字段明细:
| 字段 | 类型 | 描述 | 示例 |
|---|---|---|---|
| cursorField | String | 游标字段 | "id" |
| endCursor | String | 结束游标 | null |
| count | Integer | 每页数量 | 10 |
sort 字段明细:
| 字段 | 类型 | 描述 | 示例 |
|---|---|---|---|
| sortField | String | 排序字段 | "id" |
| sort | String | 排序方式 | "DESC" |
出参说明(JSON 格式)
出参整体结构:
| 字段 | 类型 | 描述 |
|---|---|---|
| success | Boolean | 是否成功 |
| code | String | 返回码 |
| msg | String | 返回消息 |
| data | Array | 商城数据 |
data 字段明细(单个商城):
| 参数 | 参数名称 | 类型 | 描述 | 示例 |
|---|---|---|---|---|
| mallSn | 商城编号 | String | - | "71582143744560" |
| signature | 商城签名 | String | - | ["7895xxxxxxxx"] |
| mallName | 商城名称 | String | - | "2101056320290513285" |
| state | 商城状态 | Byte | 0:待上线 1:已上线 2:已下线 |
"21590000000608177" |
| stateDesc | 商城状态描述 | String | - | 99999 |
| internalState | 内部状态 | Byte | 1启用 0禁用 | "2024-01-30 15:00:00" |
| internalStateDesc | 内部状态描述 | String | - | 35 |
| isDelete | 删除状态 | Byte | 0未删除,1已删除 | [{"title":"Mr您","skuDesc":"---","quantity":"1","unit":""}] |
| deleteTime | 删除时间 | String | - | "[{\"type\":\"text\",\"form\":\"basic\",\"fieldName\":\"姓名\",\"content\":\"好\"}]" |
| crossCityPaymentStatus | 大额开通状态 | Byte | - | - |
| crossCityPaymentStatusDesc | 大额开通状态描述 | String | - | - |
| appType | 应用类型 | String | 0拼塔商城 | 目前都是0,无需关注 |
| industryCode | 行业code | String | - | - |
| seller | 商户信息 | Object | - | - |
| orderStatistics | 订单统计 | Object | - | - |
| sellerStatisticsModel | 商户统计 | Object | - | - |
| ctime | 创建时间 | String | - | - |
| crossCityPayments | 跨城状态明细 | List | - | - |
seller字段格式:
| 参数 | 参数名称 | 类型 | 描述 | 示例 |
|---|---|---|---|---|
| merchantSn | 商户号 | String | - | - |
| merchantId | 商户id | String | - | - |
| merchantName | 商户名称 | String | - | - |
| storeSn | 门店号 | String | - | - |
| storeId | 门店id | String | - | - |
| storeName | 门店名称 | String | - | - |
| terminalSn | 终端号 | String | - | - |
| crossCityTerminalSn | 大额终端编号 | String | - | - |
orderStatistics数据字段格式:
| 参数 | 参数名称 | 类型 | 描述 | 示例 |
|---|---|---|---|---|
| totalNum | 订单数量 | Long | - | 3 |
| totalQuantity | 商品数量 | String | - | "3.2" |
| totalAmount | 订单总额 | Long | 分维度 | 300 |
crossCityPayments数据字段格式:
| 参数 | 参数名称 | 类型 | 描述 | 示例 |
|---|---|---|---|---|
| payToolCode | 支付工具code | Byte | 2:支付宝 3:微信 |
- |
| payToolCodeDesc | 支付工具描述 | String | - | - |
| status | 大额开通状态 | String | 状态 | - |
| statusDesc | 大额开通状态描述 | - | - | - |
sellerStatisticsModel数据字段格式:
| 参数 | 参数名称 | 类型 | 描述 | 示例 |
|---|---|---|---|---|
| orderFailNum | 异地交易失败订单数量 | Long | - | 1 |
出参示例:
{
"success": true,
"code": "0000",
"msg": "处理成功",
"data": [
{
"mallSn": "2026022716281467285",
"signature": "JR2WOnz3JFJohGSOFpdC",
"mallName": "11",
"state": 0,
"stateDesc": "待上线",
"internalState": 1,
"internalStateDesc": "启用",
"isDelete": 0,
"deleteTime": "",
"crossCityPaymentStatus": 0,
"crossCityPaymentStatusDesc": "待开通",
"appType": 0,
"industryCode": "education",
"crossCityPayments": [
{
"payToolCode": 2,
"payToolCodeDesc": "支付宝",
"status": 0,
"statusDesc": "待开通"
},
{
"payToolCode": 3,
"payToolCodeDesc": "微信",
"status": 0,
"statusDesc": "待开通"
}
],
"isShowBills": true,
"templateId": "2024062713361537723",
"riskDisableTags": null,
"riskDisableReasons": null,
"riskDisableParams": null,
"supportedFeatureCodes": null,
"edition": 10,
"tags": [
"bill",
"onlineStore"
],
"customChargeItemEnabled": null,
"productNameVoiceBroadcastEnabled": null,
"serviceResourceNameVoiceBroadcastEnabled": null,
"voucherRedeemEnabled": null,
"scanGunEnabled": null,
"supportedServiceResourceSnList": null,
"preSetReopenTime": null,
"mallBillSplittingEnabled": null,
"isNeedSkipPushComplainToRisk": false,
"serialConfigState": null,
"serialConfigId": null,
"seller": {
"merchantSn": "21690003912858",
"merchantId": "1c904b2d-f056-4afa-a819-0328a4774320",
"merchantName": "商户1107EIpM",
"storeSn": "21590000001528623",
"storeId": "c577260a-cebc-46c1-b81a-73e16186e76d",
"storeName": null,
"terminalSn": "2101056320290939907",
"crossCityTerminalSn": null
},
"orderStatistics": {
"totalNum": 0,
"totalQuantity": "0",
"totalAmount": 0
},
"sellerStatisticsModel": null,
"taskId": null,
"ctime": "2026-02-27 16:28:15",
"topTime": null
},
{
"mallSn": "2025120515084075127",
"signature": "qTnqtujI6KxpqnvZSuEV",
"mallName": "大健康",
"state": 1,
"stateDesc": "已上线",
"internalState": 1,
"internalStateDesc": "启用",
"isDelete": 0,
"deleteTime": "",
"crossCityPaymentStatus": 0,
"crossCityPaymentStatusDesc": "待开通",
"appType": 1,
"industryCode": "product_sales",
"crossCityPayments": [
{
"payToolCode": 2,
"payToolCodeDesc": "支付宝",
"status": 0,
"statusDesc": "待开通"
},
{
"payToolCode": 3,
"payToolCodeDesc": "微信",
"status": 0,
"statusDesc": "待开通"
}
],
"isShowBills": false,
"templateId": "2025120514584318224",
"riskDisableTags": null,
"riskDisableReasons": null,
"riskDisableParams": null,
"supportedFeatureCodes": null,
"edition": 0,
"tags": [
"onlineStore"
],
"customChargeItemEnabled": null,
"productNameVoiceBroadcastEnabled": null,
"serviceResourceNameVoiceBroadcastEnabled": null,
"voucherRedeemEnabled": null,
"scanGunEnabled": null,
"supportedServiceResourceSnList": null,
"preSetReopenTime": null,
"mallBillSplittingEnabled": null,
"isNeedSkipPushComplainToRisk": false,
"serialConfigState": null,
"serialConfigId": null,
"seller": {
"merchantSn": "21690003912858",
"merchantId": "1c904b2d-f056-4afa-a819-0328a4774320",
"merchantName": "商户1107EIpM",
"storeSn": "21590000001528623",
"storeId": "c577260a-cebc-46c1-b81a-73e16186e76d",
"storeName": null,
"terminalSn": "2101056320290825470",
"crossCityTerminalSn": null
},
"orderStatistics": {
"totalNum": 4,
"totalQuantity": "0",
"totalAmount": 2
},
"sellerStatisticsModel": {
"orderFailNum": 0
},
"taskId": null,
"ctime": "2025-12-05 15:08:40",
"topTime": "2025-12-08 10:45:14"
}
]
}