文档
测试

搜索商品

POST
http://localhost:8080/soybean/api/product/search

请求参数

参数名
类型
描述
必填
customerId
long
用户id,示例:20
必填
page
int
页码,从1开始示例:1
必填
type
int
分类,全部填0,示例:0
必填
search
string
种子名称,示例:种子
必填

响应参数

参数名
类型
描述
必填
count
int
示例:2
必填
data
array
数据列表
必填
id
int
示例:5
必填
title
string
示例:种子1号
必填
described
string
示例:种子1号呗
必填
price
float
示例:98.5
必填
vipPrice
int
示例:98
必填
productType
int
示例:1
必填
unit
string
示例:袋
必填
stock
int
示例:53
必填
path
string
示例:/upload/product/b019fbc3/725b/4428/ab22/119f67dcaaf0/20210729103352425.png
必填
code
int
示例:0
必填
msg
object
示例:null
必填