简要描述:
- 获取入驻商品列表
请求域名:
- http://xx.com
请求URL:
GET:plugin.enter-goods.frontend.enterGoods.list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 分页 - 页码 |
返回示例:
正确时返回:
{
"result":1,
"msg":"成功",
"data":{
"total":1,
"per_page":15,
"current_page":1,
"last_page":1,
"next_page_url":null,
"prev_page_url":null,
"from":1,
"to":1,
"data":[
{
"id":1,
"qrcode_url":"http://www.yunzong.com/addons/yun_shop/storage/enter-goods/d2625d86d2593081efffee5bcee76202.png",
"goods_id":173,
"pay_type_id":1,
"goods":{
"id":173,
"title":"运费测试--按重测试1",
"thumb":"http://test-1251768088.cosgz.myqcloud.com/images/3/2018/02/L6dCEjcee2lpE4hxelllZ6u2LZPHES.jpg",
"price":"91.00",
"status_name":null
}
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "错误数据"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
qrcode_url | string | 二维码图片地址 |
goods_id | int | 商品id |
pay_type_id | int | 支付方式id |
goods | object | 商品模型 |
goods参数名 | 类型 | 说明 |
---|---|---|
id | int | 商品id |
title | string | 商品标题 |
thumb | string | 商品缩略图地址 |
price | float | 商品价格 |
备注:
- 更多返回错误代码请看首页的错误代码描述