中文官网-型号检索接口
## 中文官网检索接口
**调试地址: http://lxapi.ailschn.com/doc.html#/default/pc%E7%AB%AF%E6%8E%A5%E5%8F%A3/searchProUsingPOST
**接口地址**:`/index_pc/home/searchPro`
**请求方式**:`POST`
**请求数据类型**:`application/json`
**响应数据类型**:`*/*`
**接口描述**:<p>首页检索接口</p>
**请求参数**:
**请求参数**:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
|keyword|keyword|query|true|string||
**响应状态**:
| 状态码 | 说明 | schema |
| -------- | -------- | ----- |
|200|OK|R«List«Directory»»|
|201|Created||
|401|Unauthorized||
|403|Forbidden||
|404|Not Found||
**响应参数**:
| 参数名称 | 参数说明 | 类型 | schema |
| -------- | -------- | ----- |----- |
|code|响应状态码|integer(int32)|integer(int32)|
|data|响应对象|array|Directory|
|  children|型号下的版本目录|array|Directory|
|  name||string||
|msg|响应信息|string||
**响应示例**:
```javascript
{
"code": 1,
"data": [
{
"children": [
{
"children": [],
"country": "1412303167203414017",
"createBy": null,
"createDate": null,
"current": 1,
"delFlag": "0",
"dirSort": 290,
"id": "290",
"isOrder": "0",
"isShowApp": 0,
"keyword": null,
"label": "2",
"machineCode": "ASJ01416",
"mark": null,
"name": "V10(干式变压器版本)",
"order": null,
"parentId": "288",
"path": "0,288",
"proType": "1",
"proTypeName": null,
"proTypeTranslateEnglishName": null,
"proTypeTranslateName": null,
"productUrl": null,
"qrCode": null,
"remark": null,
"sceneId": null,
"sceneIds": null,
"sceneNames": null,
"showFlag": "0",
"size": 30,
"sort": null,
"translateEnglishName": null,
"translateName": null,
"type": "1",
"updateBy": "1170896100656156674",
"updateDate": "2021-09-01 13:43:39",
"url": null
},
{
"children": [],
"country": "1412303167203414017",
"createBy": null,
"createDate": null,
"current": 1,
"delFlag": "0",
"dirSort": 451,
"id": "451",
"isOrder": "0",
"isShowApp": 1,
"keyword": null,
"label": "2",
"machineCode": "ASJ01594",
"mark": null,
"name": "V10(平板箱/油浸式)",
"order": null,
"parentId": "288",
"path": "0,288",
"proType": "1",
"proTypeName": null,
"proTypeTranslateEnglishName": null,
"proTypeTranslateName": null,
"productUrl": null,
"qrCode": null,
"remark": null,
"sceneId": null,
"sceneIds": null,
"sceneNames": null,
"showFlag": "0",
"size": 30,
"sort": null,
"translateEnglishName": null,
"translateName": null,
"type": "1",
"updateBy": null,
"updateDate": null,
"url": null
}
],
"country": null,
"createBy": null,
"createDate": null,
"current": 1,
"delFlag": "0",
"dirSort": 297,
"id": "288",
"isOrder": "0",
"isShowApp": 1,
"keyword": "SG2500UD-MV",
"label": "3",
"machineCode": "",
"mark": null,
"name": "SG2500UD-MV",
"order": null,
"parentId": "0",
"path": "0",
"proType": "1",
"proTypeName": null,
"proTypeTranslateEnglishName": null,
"proTypeTranslateName": null,
"productUrl": "https://info-support.sungrowpower.com/image/png/2021/08/12/586535f3-51a1-4d40-bcdb-3cc71ddad78a.png",
"qrCode": null,
"remark": null,
"sceneId": null,
"sceneIds": null,
"sceneNames": null,
"showFlag": "0",
"size": 30,
"sort": null,
"translateEnglishName": null,
"translateName": null,
"type": "1",
"updateBy": "1170896100656156674",
"updateDate": "2021-09-17 10:37:34",
"url": null
},
{
"children": [
{
"children": [],
"country": "1412303167203414017",
"createBy": null,
"createDate": null,
"current": 1,
"delFlag": "0",
"dirSort": 481,
"id": "481",
"isOrder": "0",
"isShowApp": 1,
"keyword": null,
"label": "2",
"machineCode": "ASJ01604",
"mark": null,
"name": "V10",
"order": null,
"parentId": "475",
"path": "0,475",
"proType": "1",
"proTypeName": null,
"proTypeTranslateEnglishName": null,
"proTypeTranslateName": null,
"productUrl": null,
"qrCode": null,
"remark": null,
"sceneId": null,
"sceneIds": null,
"sceneNames": null,
"showFlag": "0",
"size": 30,
"sort": null,
"translateEnglishName": null,
"translateName": null,
"type": "1",
"updateBy": null,
"updateDate": null,
"url": null
}
],
"country": null,
"createBy": null,
"createDate": null,
"current": 1,
"delFlag": "0",
"dirSort": 490,
"id": "475",
"isOrder": "0",
"isShowApp": 1,
"keyword": "SG2500UD,SG3000UD",
"label": "3",
"machineCode": "",
"mark": null,
"name": "SG2500UD",
"order": null,
"parentId": "0",
"path": "0",
"proType": "1",
"proTypeName": null,
"proTypeTranslateEnglishName": null,
"proTypeTranslateName": null,
"productUrl": "https://info-support.sungrowpower.com/image/png/2021/08/12/e519634e-5a88-4593-963d-4b2448278330.png",
"qrCode": null,
"remark": null,
"sceneId": null,
"sceneIds": null,
"sceneNames": null,
"showFlag": "0",
"size": 30,
"sort": null,
"translateEnglishName": null,
"translateName": null,
"type": "1",
"updateBy": "1170896100656156674",
"updateDate": "2021-09-17 11:26:00",
"url": null
}
],
"msg": "操作成功"
}
```