文档
测试

查询商品列表,分页

GET
http://localhost:8080/soybean/api/product/20/0/1

请求参数

参数名
类型
描述
必填
customerId
long
客户id
必填
type
int
分类,全部填0
必填
page
int
页码,从1开始
必填
search
String
商品名称,问号传参
必填

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
object
示例:null
必填
data
array
数据列表
必填
id
int
商品id,示例:5
必填
title
string
标题,示例:种子1号
必填
described
string
介绍,示例:种子1号呗
必填
price
float
价格,示例:98.5
必填
productType
int
分类id,示例:1
必填
unit
string
单位,示例:袋
必填
stock
int
库存,示例:3
必填
vipPrice
float
会员价
必填