文档
测试

首页-精选好物弹框/热销榜单/精品推荐

GET
api/index/findProductInfo

接口描述

此接口为分页,具体分页形式和之前一样,不再列出 涉及表:product_recommend 商品推荐模块 -------余

请求头

参数名
类型
描述
必填
openId
String
用户登陆微信登陆id
必填
cityId
Integer
城市id默认南京市id
必填

请求参数

参数名
类型
描述
必填
recommendType
Integer
1:热销榜单 2:精品推荐 3:开屏广告
必填
page
Integer
默认1
必填
size
Integer
默认6
必填

响应参数

参数名
类型
描述
必填
code
Integer
必填
message
String
必填
data
array
当数组长度为0时前端不用出现弹框
必填
productId
Integer
商品id
必填
productName
String
商品名称
必填
productImg
String
商品封面图
必填
salePrice
Double
商品售价
必填
oldPrice
Double
商品原价
必填
discount
Double
折扣
必填
saleNum
Integer
已售数量
必填

说明 / 示例

![image.png](https://cos.easydoc.net/25428683/files/kahiqfed) ![image.png](https://cos.easydoc.net/25428683/files/kahm9h5l)