|
@@ -106,6 +106,12 @@ public class ExtractedFeaturesController extends BaseController
|
|
|
return toAjax(extractedFeaturesService.deleteExtractedFeaturesByIds(ids));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 运行算法模型
|
|
|
+ * @param id
|
|
|
+ * @return
|
|
|
+ * @throws JsonProcessingException
|
|
|
+ */
|
|
|
@PreAuthorize("@ss.hasPermi('biz:features:add')")
|
|
|
@GetMapping(value = "/run/{id}")
|
|
|
public AjaxResult run(@PathVariable("id") Long id) throws JsonProcessingException {
|
|
@@ -117,6 +123,12 @@ public class ExtractedFeaturesController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取结果详情
|
|
|
+ * @param id
|
|
|
+ * @return
|
|
|
+ * @throws JsonProcessingException
|
|
|
+ */
|
|
|
@PreAuthorize("@ss.hasPermi('biz:features:add')")
|
|
|
@GetMapping(value = "/getResultDetails/{id}")
|
|
|
public AjaxResult getResultDetails(@PathVariable("id") Long id) throws JsonProcessingException {
|