소스 검색

返回结果

Gaokun Wang 7 달 전
부모
커밋
fb6f56eab0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      als-modules/agile-assurance/src/main/java/org/eco/als/controller/AlgorithmController.java

+ 1 - 1
als-modules/agile-assurance/src/main/java/org/eco/als/controller/AlgorithmController.java

@@ -66,7 +66,7 @@ public class AlgorithmController {
     @Log(title = "执行故障诊断算法", businessType = BusinessType.EXECUTE)
     @PostMapping("/execute/fault")
     public CommonResult<String> executeFault(@Validated @RequestBody AlgorithmBo algorithmBo) {
-        return StrUtil.isBlank(algorithmService.executeFault(algorithmBo)) ? CommonResult.fail() : CommonResult.success();
+        return StrUtil.isBlank(algorithmService.executeFault(algorithmBo)) ? CommonResult.fail() : CommonResult.success(algorithmService.executeFault(algorithmBo), "");
     }
 
     /**