文档
测试

商品分页查询

GET
http://localhost:9377/goods/getGoods?page=1&pageLength=2

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
pageLength
int
示例:2
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填
total
int
示例:2
必填
page
string
示例:1
必填
pageLength
string
示例:2
必填
pages
int
示例:2
必填
data
array
数据列表
必填
goodID
int
示例:1
必填
title
string
示例:西瓜
必填
num
int
示例:300
必填
price
int
示例:15
必填