文档
测试

商品搜索及动态排序List

GET
http://localhost:8888/rlg/product/pli

接口描述

根据关键字模糊查询并分页处理

请求参数

参数名
类型
描述
必填
keyWord
String
关键字
必填
pageNum
Integer
页码
必填
pageSize
Integer
每页显示数量
必填

响应参数

参数名
类型
描述
必填
coda
Integer
接口请求状态吗
必填
message
String
接口请求返回信息
可选
data
接口请求返回数据
可选

成功示例

{ "status": 200, "data": { "records": [ { "id": 10001, "categoryId": 1, "name": "啊啊是", "subtitle": "1", "mainImage": "1", "subImages": "1", "detail": "1", "price": 1.00, "stock": 90, "status": 1, "isNew": 1, "isHot": 0, "isBanner": 0, "createTime": "2018-11-27T16:49:20.000+00:00", "updateTime": "2018-11-27T16:49:23.000+00:00" }, { "id": 10002, "categoryId": 2, "name": "订单是", "subtitle": "2", "mainImage": "2", "subImages": "2", "detail": "2", "price": 2.00, "stock": 90, "status": 1, "isNew": 1, "isHot": 1, "isBanner": 0, "createTime": "2018-11-27T16:49:47.000+00:00", "updateTime": "2018-11-27T16:49:52.000+00:00" } ], "total": 4, "size": 2, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 2 } }