多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 基本信息 **Path:** /api/products **Method:** GET **接口描述:** ### 请求参数 **Query** | 参数名称 | 是否必须 | 示例 | 备注 | | --- | --- | --- | --- | | sid | 否 | | 二级分类编号 | | cid | 否 | | 一级分类编号(!) | | keyword | 否 | | 搜索 | | priceOrder | 否 | | 价格排序 | | salesOrder | 否 | | 销量排序 | | news | 否 | | 是否新品 | | page | 否 | | 分页参数起始值 | | limit | 否 | | 分页数步长值 | ### 返回数据 | 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 | | --- | --- | --- | --- | --- | --- | | status | integer | 必须 | | | | | msg | string | 必须 | | | | | data | object \[\] | 非必须 | | | item 类型: object| | ├─ id | integer | 非必须 | | 商品编号 | | | ├─ store\_name | string | 非必须 | | 商品名称 | | | ├─ cate\_id | string | 非必须 | | 商品分类编号 | | | ├─ image | string | 非必须 | | 商品图片 | | | ├─ sales | string | 非必须 | | 商品销量 | | | ├─ price | string | 非必须 | | 商品价格 | | | ├─ stock | number | 非必须 | | 商品库存 | |