# 积分商城

# 列表

  • 请求地址:goods.point/index

  • 请求方式:GET

  • 需要授权:否

请求参数

参数 类型 描述
page int 页码

返回结果

// 成功返回
{
    "code": 1, 
    "msg": "ok", 
    "data": {
        "list": [
            {
                "id": 4, 
                "photo": "http://a3.top/uploads/images/20210922/df7c3d5a400f38f8d7d7d4d84633868d.jpg", 
                "title": "全身水洗", 
                "sell_price": "112.00", 
                "sum_count": 0
            }, 
            // ...
        ], 
        "page": 1, 
        "total": 1, 
        "size": 10
    }
}
// 失败返回
{
    "msg":"",
    "code":0
}

# 详情

  • 请求地址:goods.point/view

  • 请求方式:GET

  • 需要授权:否

请求参数

参数 类型 描述
id int 商品id

返回结果

// 成功返回
{
    "code": 1, 
    "msg": "ok", 
    "data": {
        "photo": [
            "http://a3.top/uploads/images/20210922/59cd39ccd8081bb2da213ee88185b516.jpg"
        ], 
        "attr": [ ], 
        "item": [ ], 
        "goods": {
            "id": 4, 
            "title": "橙厨CHANCOO 榨汁机家用水果小型便携式多功能炸果汁机复古设计", 
            "photo": "http://a3.top/uploads/images/20210922/59cd39ccd8081bb2da213ee88185b516.jpg", 
            "sell_price": 65656, 
            "market_price": "529.00", 
            "store_nums": 567545, 
            "sale": 2, 
            "visit": 0, 
            "content": "<p><img src=\"http://a3.top/uploads/images/20210922/59cd39ccd8081bb2da213ee88185b516.jpg\" style=\"max-width: 100%; display: block; margin:0 auto;\"/></p><p><br/></p>", 
            "start_time": 1632281765, 
            "end_time": 1663776000, 
            "now_time": 1632965295
        }, 
        "comments": [ ], 
        "seller": {
            "type": 0, 
            "shop_name": "官方自营旗舰店", 
            "avatar": "http://a3.top/static/images/avatar.png", 
            "shop_desccredit": "5.00", 
            "shop_service": "5.00", 
            "shop_deliver": "5.00", 
            "shop_collect_count": 0
        }, 
        "goods_params": [ ], 
        "recommend": [
            {
                "id": 29, 
                "title": "五粮液第八代普五52度500ml浓香白酒商务宴请送礼", 
                "photo": "http://a3.top/uploads/images/20210922/b637ca90501cb5543d01224efc59d90f.jpg", 
                "sell_price": "1399.00", 
                "market_price": "2399.00", 
                "store_nums": 2133
            }
        ], 
        "service": [
            {
                "name": "48小时发货", 
                "content": "若超时未发货,消费者收到至少3元无门槛红包"
            }, 
            {
                "name": "7天无理由退货", 
                "content": "满足相应条件,消费者可申请7天无理由退货"
            }
        ]
    }
}
// 失败返回
{
    "msg":"",
    "code":0
}