文档
测试

商品列表

POST
http://{{test}}/index/goods/getGoodsList

请求参数

参数名
类型
描述
必填
cat_id
int 分类id
示例:0
必填
page
int 分页
示例:1
必填
page_size
int
示例:8
必填
goods_name
string 名称
示例:
必填
id
string id
示例:
必填
goods_status
string 10上架 20下架
示例:
必填
goods_no
string 编号
示例:
必填
warn
0全部 1预警 2非预警
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
count
int
示例:6
必填
data
array
数据列表
必填
goods_id
object
示例:null
必填
goods_name
string
示例:商品名称
必填
category_id
int
示例:23
必填
images
string
示例:/uploads/20230607/b83752cb8b75e57b605f76f021deae0d.jpg,/uploads/20230607/b83752cb8b75e57b605f76f021deae0d.jpg
必填
title_img
object
示例:null
必填
spec_type
int
示例:10
必填
deduct_stock_type
string
示例:20
必填
content
string
示例:详情内容
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:0
必填
descinfo
object
示例:null
必填
delivery_id
int
示例:0
必填
goods_status
int
示例:10
必填
is_delete
int
示例:0
必填
createtime
int
示例:1686534625
必填
updatetime
int
示例:1686534625
必填
is_hot
int
示例:1
必填
sort
int
示例:10
必填
unit
object
示例:null
必填
shop_id
int
示例:0
必填
freight
string
示例:0.00
必填
is_upgrade
int
示例:0
必填
is_see
int
示例:1
必填
goods_spec_id
object
示例:null
必填
goods_no
object
示例:null
必填
goods_price
object
示例:null
必填
line_price
object
示例:null
必填
stock_num
object
示例:null
必填
stock_yj
object
示例:null
必填
goods_sales
object
示例:null
必填
goods_weight
object
示例:null
必填
spec_sku_id
object
示例:null
必填
spec_image
object
示例:null
必填
create_time
object
示例:null
必填
update_time
object
示例:null
必填
msg
string
示例:获取成功
必填