根据商品类型查看商品
GET
http://localhost:8080/goods/viewGoodsByType?typeId=5&page=1&num=10
请求参数
参数名
类型
描述
必填
typeId
int
示例:5
必填
page
int
示例:1
必填
num
int
示例:10
必填
响应参数
参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:查看成功
必填
total
int
示例:4
必填
id
int
示例:27
必填
productNumber
int
示例:1651124986751
必填
name
string
示例:xxx
必填
price
int
示例:1
必填
typeId
int
示例:5
必填
type
string
示例:水果2
必填
count
int
示例:5
必填
url
string
示例:https://ccxp.oss-cn-shenzhen.aliyuncs.com/2022/04/28/94b2c6ee1e4d469582f2c21fbdefea4cQQ图片20211013101517.jpg
必填
detailsId
int
示例:52
必填
details
string
示例:xxx
必填
allCount
int
示例:0
必填