3 Star 0 Fork 0

商城项目 / doc.weecot.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
visual-store.md 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
Jade 提交于 2021-03-01 10:25 . first commit

可视化店铺街

接口描述:

  • 手机可视化店铺街(visual/store)

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 wanganlin 2017-03-20 2017-03-25

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type String 请求类型: application/json
token String 请求内容签名

请求参数:

参数名 是否必须 默认值 类型 说明

返回示例:

正确时返回:

{
    "status": "success",
    "data": [
        {
            "shop_id": 1,
            "user_id": 1,
            "rz_shopName": "万卓旗舰店",
            "logo_thumb": "http://domain/storage/seller_imgs/seller_logo/logo_thumb/1490146939391305403.jpg",
            "street_thumb": "http://domain/storage/data/store_street/street_thumb/1490146939166715823.jpg",
            "goods": [
                {
                    "goods_name": "Haier/海尔 EG10014B39GU1 10公斤kg智能变频滚筒全自动洗衣机",
                    "goods_thumb": "http://domain/storage/images/201703/thumb_img/0_thumb_G_1490147669945.jpg"
                }
            ],
            "total": 12
        }
    ],
    "time": 1554705811
}

错误时返回:

{
    "status": 'failed',
    "errors": {
        "code": 404,
        "message": "message"
    },
    "time": 1553515084
}

返回参数说明:

参数名 类型 说明
storeList List[] 店铺街列表
├─ shop_id Number 店铺id
├─ user_id Number 商家id
├─ rz_shopName String 店铺名称
├─ logo_thumb String 店铺logo
├─ street_thumb String 店铺街logo
├─ goods List[] 店铺商品列表
├─ total Number 店铺商品总数

备注:

  • 更多返回错误代码请看首页的错误代码描述
其他
1
https://gitee.com/dscmall_test/doc.weecot.com.git
git@gitee.com:dscmall_test/doc.weecot.com.git
dscmall_test
doc.weecot.com
doc.weecot.com
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891