diff --git a/epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/controller/ScanController.java b/epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/controller/ScanController.java index 7eed0cc3c3..cb87edbc15 100644 --- a/epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/controller/ScanController.java +++ b/epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/controller/ScanController.java @@ -56,9 +56,8 @@ public class ScanController { */ @RequestMapping("textSyncScan") public Result textSyncScan(@RequestBody TextScanParam param) { - //ValidatorUtils.validateEntity(param); - //return scanService.sendTextScan(param); - return null; + ValidatorUtils.validateEntity(param); + return scanService.sendTextScan(param); } //@RequestMapping("imgAsyncScan") @@ -69,7 +68,7 @@ public class ScanController { /** * @description 语音异步检测 - * @Date 2020/12/9 9:14 + * @Date 2020/12/9 9:14 **/ @PostMapping("voiceAsyncScan") public Result voiceAsyncScan(@RequestBody VoiceAsyncScanParam param){ @@ -81,7 +80,7 @@ public class ScanController { * @param taskIds 要查询的异步检测任务的taskId列表。数组中的元素个数不超过100个 * @author yinzuomei * @description 语音异步检测结果查询 - * @Date 2020/12/9 11:16 + * @Date 2020/12/9 11:16 **/ @PostMapping("voiceResults") public Result> voiceResults(@RequestBody List taskIds){