|
@@ -140,16 +140,12 @@ public class AlgorithmTaskController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@SaCheckPermission("task:task:add")
|
|
|
- @Log(title = "算法任务/获取图像", businessType = BusinessType.INSERT)
|
|
|
- @RepeatSubmit()
|
|
|
@PostMapping("/getImage")
|
|
|
public CommonResult<PageResult<DataVo>> getImage(@Validated @RequestBody DataBo data) {
|
|
|
return dataController.list(data);
|
|
|
}
|
|
|
|
|
|
@SaCheckPermission("task:task:add")
|
|
|
- @Log(title = "算法任务/获取算法", businessType = BusinessType.INSERT)
|
|
|
- @RepeatSubmit()
|
|
|
@PostMapping("/getAlgorithm/{type}/{subsystem}")
|
|
|
public CommonResult<List<AlgorithmConfigVo>> getAlgorithm(@PathVariable String type, @PathVariable String subsystem) {
|
|
|
AlgorithmConfigBo algorithmConfigBo = new AlgorithmConfigBo();
|
|
@@ -159,8 +155,6 @@ public class AlgorithmTaskController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@SaCheckPermission("task:task:add")
|
|
|
- @Log(title = "算法任务/获取模型", businessType = BusinessType.INSERT)
|
|
|
- @RepeatSubmit()
|
|
|
@PostMapping("/getModel/{algorithmId}")
|
|
|
public CommonResult<List<AlgorithmModelVo>> getModel(@PathVariable Long algorithmId) {
|
|
|
AlgorithmModelBo algorithmModel = new AlgorithmModelBo();
|