查询汽车品牌

#### 简要描述: - 查询汽车品牌根据品牌名关键字 - 小程序端需要根据品牌名分组,需要保障品牌输入的准确性,尽量使用此接口获取标准品牌名称 #### 接口版本: |版本号|制定人|制定日期|修订日期| |:---- |:---|:----- |----- | |1.0.0 |张玉龙 |2021-01-28 |2021-01-28 | #### 请求URL: - http://ip:port/semi-api/offer/searchCarBarand #### 请求方式: - POST/JSON #### 请求头: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |Content-Type |是 |string |请求类型: application/json | #### 请求示例: ```json { "searchCriteria": "奥迪" } ``` #### 请求参数: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |searchCriteria|是 |string |搜索条件 | #### 返回示例: **正确时返回:** ```json { "msg": "操作成功", "code": 200, "data": [ { "brandLogo": "/semi-api/file/download/33/JPG", "carBrand": "奥迪", "carId": 33, "createTime": "2021-01-28 12:44:21", "id": 33, "initial": "A", "page": 1, "rows": 10, "updateTime": "2021-01-28 12:44:21" } ] } ``` **错误时返回:** ```json { "msg": "请求失败", "code": -200, "data": {} } ``` #### 返回参数(通用参数)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |code|是 |string | 200 成功 其他失败 | |msg|是 |string |成功或失败消息内容 | |data|是 |array| 真实参数 | #### 返回参数(data)说明: | 参数名称 | 参数类型 | 示例值 | 备注 | | ------------ | ------------ | ------------ | ------------ | |brandLogo|string|/semi-api/file/download/33/JPG| 品牌logo图片| |carBrand|string|奥迪|品牌名 | |carId|number|33|品牌id | |createTime|string|2021-01-28 12:44:21|创建时间 | |id|number|33| 主键| |initial|string|A| 首字母| |updateTime|string|2021-01-28 12:44:21|更新时间 |