文档
测试

商品列表

POST
http://ct.daoben.ltd/api/goods/searchList

请求参数

参数名
类型
描述
必填
mch_id
int
示例:0
必填
keyword
string
示例:a
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1650793955
必填
data
object
数据字典
必填
total
int
示例:8
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
goods_id
int
示例:29
必填
mch_id
int
示例:2
必填
genus
string
示例:ct
必填
goods_name
string
示例:臊子面
必填
category_id
int
示例:1
必填
image
string
示例:/uploads/20220408/21f510846873fc1778b9b580a26758ab.jpeg
必填
images
object
示例:null
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:10
必填
genus_type
string
示例:allday
必填
content
object
示例:null
必填
sales_initial
int
示例:40
必填
sales_actual
int
示例:20
必填
views_initial
int
示例:0
必填
views_actual
int
示例:0
必填
goods_sort
int
示例:29
必填
is_shove
string
示例:10
必填
is_hot
string
示例:10
必填
delivery_id
int
示例:0
必填
goods_status
string
示例:10
必填
deletetime
object
示例:null
必填
createtime
int
示例:1650768451
必填
updatetime
int
示例:1650768509
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:10
必填
group_name
string
示例:规格
必填
spec_items
array
数据列表
必填
item_id
int
示例:25
必填
spec_value
string
示例:大份
必填
spec_list
array
数据列表
必填
goods_id
int
示例:29
必填
goods_spec_id
int
示例:181
必填
spec_sku_id
string
示例:25_28
必填
rows
array
数据列表
必填
form
object
数据字典
必填
title
string
示例:大份;3
必填
goods_no
string
示例:
必填
goods_price
string
示例:13.00
必填
goods_weight
int
示例:0
必填
line_price
string
示例:13.00
必填
stock_num
int
示例:99999
必填
spec_image
string
示例:
必填
spec_status
string
示例:10
必填
spec_sku_num
int
示例:0
必填
total_num
int
示例:0
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:181
必填
goods_id
int
示例:29
必填
goods_no
string
示例:
必填
title
string
示例:大份;3
必填
goods_price
string
示例:13.00
必填
line_price
string
示例:13.00
必填
stock_num
int
示例:99999
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:25_28
必填
spec_status
string
示例:10
必填
spec_image
string
示例:
必填
create_time
int
示例:1650780658
必填
update_time
int
示例:1650780658
必填
spec_rel
array
数据列表
必填
id
int
示例:25
必填
spec_value
string
示例:大份
必填
spec_id
int
示例:10
必填
createtime
int
示例:1650768427
必填
pivot
object
数据字典
必填
id
int
示例:119
必填
goods_id
int
示例:29
必填
spec_id
int
示例:10
必填
spec_value_id
int
示例:25
必填
create_time
int
示例:1650780658
必填
spec
object
数据字典
必填
id
int
示例:10
必填
spec_name
string
示例:规格
必填
createtime
int
示例:1650768427
必填
GoodViews
int
示例:0
必填
goodsSales
int
示例:60
必填
mchName
string
示例:臊子面
必填
minSpecPrice
object
数据字典
必填
goods_price
string
示例:13.00
必填
line_price
string
示例:13.00
必填