简要描述:
- 获取门店商品列表
请求域名:
- http://xx.com
请求URL:
POST:plugin.store-cashier.frontend.store.center.integration-pay.getSubMerList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
keyword | 否 | string | 检索关键字 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 1,
"store_id": 12,
"reason": "sadadasd",
"apply_no": "212dadsad",
"merchant_no": "asdasd1",
"status": 0,
"created_at": "1970-01-02 18:12:03",
"updated_at": "1970-01-29 06:05:12",
"agreement_query_url": null,
"status_name": "待审核"
}
],
"first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"next_page_url": null,
"path": "http://www.shop777.com/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
},
"validate_page": {
"is_bind_mobile": 0,
"invite_page": 0,
"is_invite": 1,
"is_login": 1,
"invite_mobile": 1,
"bind_address": {
"is_bind_address": 0,
"bind_address_type": 0,
"bind_address_page": []
},
"need_video": 0,
"force_bind_car": 0,
"bind_mobile_page": [],
"is_level_compel": 0
}
}
错误时返回:
{
"result": 0,
"msg": "无商品数据"
}
返回参数说明:
data 数组对象
参数名 | 类型 | 说明 |
---|---|---|
id | int | 唯一ID |
uniacid | int | 系统标识 |
store_id | int | 店铺ID |
reason | string | 申请原因 |
apply_no | string | 申请单号 |
merchant_no | string | 商户号 |
status | int | 处理状态:0=待审核 |
created_at | string | 创建时间(格式:YYYY-MM-DD HH:mm:ss) |
updated_at | string | 更新时间(格式:YYYY-MM-DD HH:mm:ss) |
agreement_query_url | string/null | 协议查询URL(可为null),不为null显示电子合同按钮,并且是一个链接 |
status_name | string | 状态文本(如"待审核") |
备注:
- 更多返回错误代码请看首页的错误代码描述