文档
测试

产品列表

GET
http://127.0.0.1:8000/api/product/list?page=1&pageSize=10&goodstype_id=948%20%20%E5%88%86%E7%B1%BBid%E3%80%82%E5%85%A8%E9%83%A8%E5%88%99%E4%BC%A0%E7%A9%BA%E6%88%96%E8%80%85%E4%B8%8D%E4%BC%A0

请求头

参数名
类型
描述
必填
applet
int
示例:1
必填
userId
int
示例:7010
必填
cardId
int
示例:1703
必填
companyId
int
示例:1367
必填

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
pageSize
int
示例:10
必填
goodstype_id
string
示例:948 分类id。全部则传空或者不传
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
total
int
示例:8
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
goods_id
int
示例:584
必填
goods_name
string
示例:哈佛F7 11/15
必填
goodstype_id
int
示例:948
必填
company_id
int
示例:1367
必填
cover_img
string
示例:https://myy-one-stand.oss-cn-beijing.aliyuncs.com/one-stand/photo/20210723/32d737eb0a579a1cf9e3ac02f2776001.jpg.primary.png
必填
price
object
示例:null
必填
create_time
string
示例:2021-11-15 09:59:53
必填
stock_num
int
示例:122
必填
card_id
int
示例:1703
必填
shares_num
int
示例:0
必填