BASE_URL = http://didi-gz5.jiaoyou365.com ###### 获取类型和具体 URL: BASE_URL:19081/api/feedback/feather METHOD: GET Parameter | Type | Description | :----------- | :------: | ------------: | | Authorization | token | 用户token | ResponseBody: ``` SUCCESS: { "code": 1, "msg": "成功", "data": [ { "typeId": 1, "typeName": "话语意图", //类型 "feathers": [ { "name": "陈述过去做之动宾",  "handlerUsername": "liuxi", "semanticRelationName": "ruleb0answerb0whatb0done", "id": 1 } ] }, { "typeId": 2, "typeName": "系统故障", "feathers": [] }, { "typeId": 3, "typeName": "建议", "feathers": [] } ] } ``` ###### 修改记录的状态,处理中和已完成 URL: BASE_URL:19081/api/feedback/record/status METHOD: PUT Parameter | Type | Description | :----------- | :------: | ------------: | | Authorization | token | 用户token | RequestBody: ``` { "id": 2, "status": 1, // 1:处理中,2:完成 "reply":"处理中" // 回复 } ``` ResponseBody: ``` SUCCESS: { "code": 1, "msg": "成功", "data": null } ``` ###### 查询反馈功能 URL: BASE_URL:19081/api/feedback/record/search?page=0&pageSize=20 METHOD: POST Parameter | Type | Description | :----------- | :------: | ------------: | | Authorization | token | 用户token | RequestBody: ``` { "typeName":"", // 类型 "featherName":"", //具体 "status":1 // 0:已提交,1:处理中,2:已完成 "semanticRelationName":"ruleb0answerb0whatb0done", // 可为空 } ``` ResponseBody: ``` { "code": 1, "msg": "成功", "data": { "records": [ { "id": 2, "typeName": "话语意图", "featherName": "陈述过去做之动宾", "description": "李四拉拉", "gmtCreate": 1587023673000, "status": 0, "log": "张三", "handlerReply": "", "handlerUsername": "jinfengli", // 处理人 "feedbackUsername": "jinfengli" // 反馈人 } ], "count": 1 } } ``` ###### 查询语义关系待解决总数 URL: BASE_URL:19081/api/feedback/record/question/count METHOD: GET Parameter | Type | Description | :----------- | :------: | ------------: | | Authorization | token | 用户token | RequestBody: ``` { "semanticRelationName":"ruleb0somethingb0iswhat", // 可为空 } ``` ResponseBody: ``` { "code": 1, "msg": "成功", "data": { "count": 1 } } ``` ###### 修改处理人 URL: BASE_URL:19081/api/feedback/record/handler METHOD: PUT Parameter | Type | Description | :----------- | :------: | ------------: | | Authorization | token | 用户token | RequestBody: ``` { "id":11, "handlerName":"jinfengli" } ``` ResponseBody: ``` SUCCESS: { "code": 1, "msg": "成功", "data": null } ```