企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 获取商品列表 **请求URL:** - ` api/goods/getGoodsList ` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |category_id |必填 |int |商品分类id | |keyword |选填 |string |搜索关键词 | |sales_sum |选填 |string |销量排序:desc-降序;asc-升序 | |price |选填 |string |价格排序:desc-降序;asc-升序 | **返回示例** ``` { "code":1, "msg":"获取成功", "data":{ "list":[ { "id":1, "name":"Redmi K30 5G", "image":"http:\/\/www.likeb2b2c.com:20002\/uploads\/images\/20200703\/3b15397899041396fd8443e0262854f0.jpg", "min_price":"3199.00", "market_price":"3499.00" }, { "id":10, "name":"测试商品", "image":"http:\/\/www.likeb2b2c.com:20002\/uploads\/images\/20200703\/934ce31932c304577091cfb24931d6eb.jpg", "min_price":"3020.00", "market_price":"300.00" } ], "page":1, "size":20, "count":2, "more":0 }, "show":0, "time":"0.250625", } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |商品id |shop_id |int |店铺id |name |varchar |商品名称 |image |varchar |商品主图 |min_price |string |商品最低价 |market_price |string |商品市场价 **备注** -