文档
测试

爆品列表

POST
http://baopin.daoben.ltd/api/amoy/productList

请求参数

参数名
类型
描述
必填
token
string
示例:1b6079b2-0256-4550-b501-c2a5fdc84ba0
必填
family
int
示例:1-------品类ID
必填
channel
int
示例:3-------渠道ID(多选)
必填
price_min
int
示例:1-------最低价
必填
price_max
int
示例:1000-------最高价
必填
profit
string
示例:asc-------利润排序:asc正序,desc 倒序
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1673074190
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:9
必填
user_id
int
示例:3
必填
publish_id
int
示例:1
必填
family_id
int
示例:1
必填
channel_id
string
示例:,1,3,
必填
price
string
示例:10.00-------价格
必填
profit
string
示例:12.00-------利润率
必填
pname
string
示例:新品商品-------商品名称
必填
thumb
string
示例:/assets/img/avatar.png-------缩略图
必填
images
array
数据列表-------图片详情
必填
text_details
string
示例:文字详情-------
必填
picture_details
string
示例:图片详情-------
必填
burst
int
示例:0-------是否为爆品:0=非爆品,1=爆品
必填
draft
int
示例:1-------发布状态:1=草稿,2=已发布
必填
status
string
示例:normal
必填
createtime
int
示例:1673000818
必填
updatetime
int
示例:1673000818
必填
deletetime
object
示例:null
必填
praise
int
示例:2
必填
view
int
示例:2
必填