|
@@ -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), "");
|
|
|
}
|
|
|
|
|
|
/**
|