列表
POST
http://127.0.0.1:9501/api/product/lists
请求参数
参数名
类型
描述
必填
product_name
int
商品名称查询
必填
sort_type
string
1 综合排序 2 价格排序
必填
sort_rule
string
0 为倒叙 1 为正序
必填
响应参数
参数名
类型
描述
必填
code
int
示例:100
必填
message
string
示例:success
必填
timestamp
string
示例:2020-06-12 16:09:09
必填
product_id
int
示例:18
必填
main_img
string
示例:http://139.196.96.37:9501/files/images/20200609/1591707727_uMjQciwNra.jpg
必填
product_name
string
示例:中粮礼品卡端午节698型
必填
point_price
int
购买积分
必填
price
int
示例:680
必填
body
string
示例:<img src="https://img10.360buyimg.com/imgzone/jfs/t1/129570/27/2196/436399/5ec35aa0E6e44831b/831312d5aa7f571c.jpg" />
必填
category_id
int
示例:13
必填
brand_id
int
示例:32
必填
category_name
string
示例:虚拟商品
必填
brand_name
string
示例:购物卡
必填
plan_id
int
示例:6
必填
record_id
string
示例:129959324847718400
必填