分页查询产品基础数据

#### 简要描述: - 分页查询产品基础信息 #### 接口版本: |版本号|制定人|制定日期|修订日期| |:---- |:---|:----- |----- | |1.0.0 |张玉龙 |2020-11-26 |2020-11-26 | #### 请求URL: - http://ip:port/semi-api/offer/searchOfferProduct #### 请求方式: - POST/JSON #### 请求头: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |Content-Type |是 |string |请求类型: application/json | #### 请求示例: ```json { "page": 1, "rows": 10, "searchCriteria": "路虎" } ``` #### 请求参数: | 参数名称 | 参数类型 | 备注 | 是否必须| | ------------ | ------------ | ------------ | ------------ | |page|string|当前页数默认第一页| 否| |rows|string|每页条数(默认10条)| 否| |searchCriteria|string|搜索条件|否 | #### 返回示例: **正确时返回:** ```json { "msg": "操作成功", "code": 200, "data": { "endRow": 0, "firstPage": 0, "hasNextPage": false, "hasPreviousPage": false, "isFirstPage": true, "isLastPage": true, "lastPage": 1, "list": [ { "afterTaxPrice": 6700, "agencyPrice": 6500, "authorizationPrice": 6500, "beforeTaxPrice": 6500, "commercePrice": 6700, "createTime": "2020-11-26 14:26:07", "id": 4, "operatingPersonnel": "user", "page": 1, "productCode": "PW1003", "productEnglishName": "dian guang xi lie", "productLine": "电光系列", "productName": "电光哈哈哈3", "productSpecification": "100*200", "retailPrice": 6800, "insuranceDeadline": 3, "rows": 10, "taxRate": 17, "updateTime": "2020-11-26 14:26:07" } ], "navigateFirstPage": 0, "navigateLastPage": 1, "navigatePages": 0, "navigatepageNums": [], "nextPage": 1, "pageNum": 1, "pageSize": 0, "pages": 1, "prePage": 1, "size": 0, "startRow": 0, "total": 3 } } ``` **错误时返回:** ```json { "msg": "操作失败", "code": -200, "data": {} } ``` #### 返回参数(通用参数)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |code|是 |string | 200 成功 其他失败 | |msg|是 |string |成功或失败消息内容 | |data|是 |string | 真实参数 | #### 返回参数(data)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |nextPage|是 |string | 下一页 | |pageNum|是 |string | 当前页 | |pages|是 |string | 总页数 | |prePage|是 |string | 前一页 | |total|是 |string | 总条数 | |list |是 |array| 真实参数 | #### 返回参数(list)说明: | 参数名称 | 参数类型 | 示例值 | 备注 | | ------------ | ------------ | ------------ | ------------ | |afterTaxPrice|number|6700|税后价格 | |agencyPrice|number|6500|代理价格 | |authorizationPrice|number|6500|授权价格 | |beforeTaxPrice|number|6500|税前价格 | |commercePrice|number|6700|电商价格 | |createTime|string|2020-11-26 14:26:07| 创建时间| |id|number|4| 主键id| |operatingPersonnel|string|user|操作人 | |productCode|string|PW1003|产品编码 | |productEnglishName|string|dian guang xi lie|英文名称 | |productLine|string|电光系列| 产品系列| |productName|string|电光哈哈哈3| 产品名称| |productSpecification|string|100*200|产品规格 | |retailPrice|number|6800| 零售价格| |insuranceDeadline|number|3| 质保期限| |taxRate|number|17|税率 | |updateTime|string|2020-11-26 14:26:07| 更新时间|