简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2024-08-14

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权

请求参数:

参数名 是否必须 类型 说明
module string 授权
page string 页码
pagesize string 条数

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "goods_id": 16,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 1000,
                "discount_price": 900,
                "buy": 17
            },
            {
                "goods_id": 15,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 1000,
                "discount_price": 0,
                "buy": 8
            },
            {
                "goods_id": 14,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 100,
                "discount_price": 0,
                "buy": 0
            },
            {
                "goods_id": 13,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 100,
                "discount_price": 0,
                "buy": 0
            },
            {
                "goods_id": 12,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 100,
                "discount_price": 0,
                "buy": 5
            },
            {
                "goods_id": 11,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 100,
                "discount_price": 0,
                "buy": 0
            },
            {
                "goods_id": 10,
                "title": "宿舍木门",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "price": 100,
                "discount_price": 0,
                "buy": 7
            }
        ],
        "page": 1,
        "pagesize": "10",
        "total": 7
    }
}

错误时返回:

{
    "status": 0,
    "msg": "token 错误",
}

返回参数说明:

参数名 类型 说明
goods_id int 门店商品ID
title string 标题
cover string 封面
price int 价格
discount_price int 折扣价
buy int 已售

备注:

作者:admin  创建时间:2024-08-14 18:44
最后编辑:admin  更新时间:2025-04-01 15:40