商城列表
基本信息
- service:cps-mesh.open.stores.query.get
- 请求方式:POST
请求Header
| Header参数 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| Content-Type | 是 | application/json |
公共参数
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| app_key | 是 | 2312521 | 媒体应用AppKey 查看获取方式 |
| timestamp | 是 | 1596592757 | 秒级时间戳 |
| service | 是 | cps-mesh.open.stores.query.get | 接口服务名称 |
| sign | 是 | 5D17CCCD5B29F98171D6D0D43136B366 | 签名 详解 |
接口参数
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| name | 否 | 商城名称 | |
| url | 否 | 商城域名/网址 | |
| is_domestic | 否 | 是否国内:0所有(默认),-1非国内,1国内 | |
| recommend | 否 | 推荐商家:0所有(默认),-1不推荐,1推荐 | |
| page | 否 | 页码 默认1 | |
| page_size | 否 | 分页大小 默认20 最大200 |
请求示例
{
"name": "string",
"url": "string",
"is_domestic": "string",
"recommend": "string",
"page": "string",
"page_size": "string"
}返回参数
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | integer | 非必须 | 状态code | ||
| message | string | 非必须 | 错误信息 | ||
| data | object | 非必须 | 商城列表 | ||
| ├─ id | string | 非必须 | 商城id | ||
| ├─ name | string | 非必须 | 商城名称 | ||
| ├─ logo | string | 非必须 | 商城logo图片地址 | ||
| ├─ country_name | string | 非必须 | 国家名称 | ||
| ├─ pc_websites | string [] | 非必须 | pc官网地址集合 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ mobile_websites | string [] | 非必须 | h5官网地址集合 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ domains | string [] | 非必须 | 商城域名集合 | item 类型: string | |
| ├─ | 非必须 | ||||
| ├─ is_domestic | int | 非必须 | 是否国内:-1非国内,1国内 | ||
| ├─ description | string | 非必须 | 商城描述 | ||
| ├─ recommend | int | 非必须 | 是否推荐:-1不推荐,1推荐 | ||
| ├─ commission | string | 非必须 | 商城佣金说明 | ||
| ├─ tags | object [] | 非必须 | 商城标签 | item 类型: object | |
| ├─ id | int | 非必须 | 标签id | ||
| ├─ name | string | 非必须 | 标签名称 | ||
| ├─ type | string | 非必须 | 标签类型:1邮寄类型 2支付方式 3语言支持 | ||
| ├─ sort | string | 非必须 | 标签排序 |
返回示例
{
"status": 0,
"message": "string",
"data": {
"id": "string",
"name": "string",
"logo": "string",
"country_name": "string",
"pc_websites": [
"string"
],
"mobile_websites": [
"string"
],
"domains": [
"string"
],
"is_domestic": null,
"description": "string",
"recommend": null,
"commission": "string",
"tags": [
{
"id": null,
"name": "string",
"type": "string",
"sort": "string"
}
]
}
}