商品列表
POST
https://ys.daoben.ltd/api/goodseat/list
请求参数
参数名
类型
描述
必填
category_id
string
示例:
必填
keyword
string
示例:
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1655865898
必填
total
int
示例:2
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
goods_id
int
示例:34------商品ID
必填
goods_name
string
示例:少女心独角兽粉红电动文具套装------商品名称
必填
category_id
int
示例:6------分类ID
必填
image
string
示例:/assets/img/qrcode.png------缩略图
必填
images
string
示例:/assets/img/qrcode.png------轮播图
必填
spec_type
int
示例:1------规格类型:1=单规格,2=多规格
必填
deduct_stock_type
int
示例:1------商品减库存方式
必填
content
string
示例:<p>1</p>------商品详情
必填
sales_initial
int
示例:0------
必填
sales_actual
int
示例:0------
必填
goods_sort
int
示例:34------商品排序
必填
1
string
示例:热销
必填
2
string
示例:热销榜单
必填
3
string
示例:招牌
必填
4
string
示例:老板推荐
必填
tag_type
int
示例:1------标签类型:1=系统标签,2=自定义标签
必填
delivery_id
int
示例:0
必填
short_status
int
示例:1-----首页推荐状态::0=不推荐,1=推荐
必填
goods_status
string
示例:1-----商品状态:0=下架,1=上架
必填
deletetime
object
示例:null
必填
createtime
int
示例:1655808390
必填
updatetime
int
示例:1655864844
必填
spec_attr
array
数据列表
必填
cartNum
int
示例:0-----购物车内数量
必填
goods_spec_id
int
示例:126
必填
goods_id
int
示例:34
必填
goods_no
string
示例:
必填
goods_attr
object
示例:null
必填
goods_price
string
示例:2.00
必填
line_price
string
示例:3.00
必填
spec_type
int
示例:1
必填
stock_num
int
示例:0
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:
必填
spec_image
string
示例:
必填
create_time
int
示例:1655864844
必填
update_time
int
示例:1655864844
必填
spec_rel
array
数据列表
必填
goodsSales
int
示例:0
必填