简要描述
请求url
- https://www.商城域名.com/index.php?s=/api/goods/recommended
请求方式
是否需授权登录
请求header
| 参数名 | 类型 | 是否必须 | 示例值 | 说明 | 
| storeId | int | 必填 | 10001 | 商城ID | 
| platform | string | 必填 | H5 | 当前请求的客户端(APP、小程序、H5等) | 
| Access-Token | string | 选填 | - | 当前登录用户的 Token | 
返回示例
{
  "status": 200,
  "message": "success",
  "data": {
    "goodsList": [
      {
        "goods_id": 10025,
        "goods_name": "小米6X 全网通 4GB+32GB 流沙金 移动联通电信4G手机 双卡双待 智能手机",
        "selling_point": "",
        "goods_image": "db7082c6af34ece0f1c94e6ef8a06ce4.jpg",
        "goods_price_min": "0.98",
        "goods_price_max": "0.98",
        "line_price_min": "11.00",
        "line_price_max": "11.00",
        "goods_sales": 24
      },
      {
        "goods_id": 10020,
        "goods_name": "耐克 男子 NIKE AIR FORCE 1'07 运动鞋",
        "selling_point": "",
        "goods_image": "b72822760ccc4bb892cc658b33af939e.jpg",
        "goods_price_min": "587.02",
        "goods_price_max": "587.02",
        "line_price_min": "999.00",
        "line_price_max": "999.00",
        "goods_sales": 40
      }
    ]
  }
}
返回参数
| 参数名 | 类型 | 示例值 | 说明 | 
| status | int | 200 | 请求状态(200:请求成功;500:请求错误/失败) | 
| message | string | success | 请求结果的信息,默认为 success | 
| data | object | - | 返回的业务数据 | 
data 参数
| 参数名 | 类型 | 示例值 | 说明 | 
| goodsList | array | - | 商品列表数据 | 
data.goodsList 参数
| 参数名 | 类型 | 示例值 | 说明 | 
| goods_id | int | 10025 | 商品ID | 
| goods_name | string | 小米6X 全网通 4GB+32GB 流沙金 移动联通电信4G手机 双卡双待 智能手机 | 商品标题/名称 | 
| selling_point | string | - | 商品卖点 | 
| goods_image | string | db7082c6af34ece0f1c94e6ef8a06ce4.jpg | 商品主图URL | 
| goods_price_min | string | 0.98 | 商品价格 (最低) | 
| goods_price_max | string | 0.98 | 商品价格 (最高) | 
| line_price_min | string | 11.00 | 划线价格 (最低) | 
| line_price_max | string | 11.00 | 划线价格 (最高) | 
| goods_sales | int | 24 | 显示销量 (初始销量 + 实际销量) |