商品列表(搜索)
POST
{{test}}/api/goods/getGoodsList
请求参数
参数名
类型
描述
必填
page
int
示例:1 分页
必填
page_size
int
示例:8 分页
必填
cat_id
int
示例:0 分类id 0全部
必填
keyword
string
示例: 商品名称
必填
s_type
1'=>'自提','2'=>'快递物流','3'=>'送货上门
必填
goods_type
1 严选商城 2预售商品 3企业好物 4商城类商品 5拼团商品 6二手商品
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
count
int
示例:4
必填
shop_id
int
示例:0
必填
goods_id
int 商品id
示例:22
必填
goods_name
string 名称
示例:Mate 20 华为 HUAWEI
必填
title_pic
string 标题图片
示例:/uploads/20221217/2aa93141189095f9516e681158546ec5.webp
必填
goods_line_price
string 划线价
示例:0.00
必填
goods_min_price
string 价格
示例:4499.00
必填
goods_sales
int 销售量
示例:74
必填
is_invoice
1可开票 0不可
必填
msg
string
示例:获取成功
必填