文档
测试

商品列表

GET
web/spu/list

请求参数

参数名
类型
描述
必填
sid
int
商家ID 示例:0
可选
page
int
页码
可选
count
int
记录数
可选
kw
string
关键词
可选
sort
string
排序字段
可选
order
string
排序规则:asc=升序,desc=倒序
可选

响应参数

参数名
类型
描述
必填
total
int
总记录数
必填
page
int
页码
必填
count
int
记录数
必填
items
array
数据列表
必填
id
int
示例:1
必填
name
string
标题
必填
description
string
描述
必填
price
string
价格
必填
sale_count
int
销量
必填
discount_price
string
优惠价
必填
group_price
string
拼团价
必填
thumb_img
array
主图
必填
image
string
示例:http://tctm.cn/uploads/20201130/efe0e7ab4baed4b6fa3c9c0ababe243d.jpg
必填
weigh
int
示例:0
必填
main_switch
int
示例:1
必填
send_price
string
运费
必填