02、获取打分最多的商品
GET
http://localhost:8080/product/rate
接口描述
获取打分最多的商品
请求参数
参数名
类型
描述
必填
num
int
返回推荐结果的数量
必填
响应参数
参数名
类型
描述
必填
code
string
200成功,其他业务码失败
必填
msg
string
提示消息
必填
productId
int
示例:8195
必填
name
string
示例:Kingston 金士顿 Class4 32G TF卡(micro SD)手机存储卡
必填
imgUrl
string
示例:https://images-cn-4.ssl-images-amazon.com/images/I/41zUS3RjvRL._SY300_QL70_.jpg
必填
score
float
示例:4.407433881343817
必填
categories
string
示例:存储设备|存储卡|电脑/办公
必填
tags
string
示例:存储卡|金士顿|SD卡|容量挺大的|速度快|好用
必填