文档
测试

前台-产品搜索及动态排序List

GET
http://localhost:8889/rlg/user/product_search

接口描述

根据关键字模糊查询

请求参数

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

响应参数

参数名
类型
描述
必填
status
Integer
状态码
必填
msg
String
状态信息
可选
data
String
数据
可选

成功示例

{ "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": 0, "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 } }