allen 2 hete
szülő
commit
187a32366d

+ 5 - 0
ips-admin/src/main/java/com/ips/system/controller/AlgorithmConfigController.java

@@ -103,6 +103,11 @@ public class AlgorithmConfigController extends BaseController
         return toAjax(algorithmConfigService.deleteAlgorithmConfigByIds(ids));
     }
 
+    /**
+     * 根据类型获取算法配置
+     * @param type
+     * @return
+     */
     @GetMapping("/getOptionsByType/{type}")
     public AjaxResult getOptionsByType(@PathVariable("type")String type)
     {

+ 5 - 0
ips-admin/src/main/java/com/ips/system/controller/BizCommonController.java

@@ -16,6 +16,11 @@ import java.io.File;
 @RequestMapping("/biz/common")
 public class BizCommonController {
 
+    /**
+     * 获取静态资源
+     * @param filePath
+     * @return
+     */
     @GetMapping("/getStatic")
     public ResponseEntity<Resource> getStaticFile(@RequestParam String filePath) {
         // 安全检查 - 防止路径遍历攻击

+ 12 - 0
ips-admin/src/main/java/com/ips/system/controller/BizTrainingController.java

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

+ 12 - 0
ips-admin/src/main/java/com/ips/system/controller/ClassifyTestController.java

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

+ 12 - 0
ips-admin/src/main/java/com/ips/system/controller/DistillationController.java

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

+ 12 - 0
ips-admin/src/main/java/com/ips/system/controller/ExtractedFeaturesController.java

@@ -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 {

+ 12 - 0
ips-admin/src/main/java/com/ips/system/controller/PreprocessedController.java

@@ -105,6 +105,12 @@ public class PreprocessedController extends BaseController
         return toAjax(preprocessedService.deletePreprocessedByIds(ids));
     }
 
+    /**
+     * 运行算法模型
+     * @param id
+     * @return
+     * @throws JsonProcessingException
+     */
     @PreAuthorize("@ss.hasPermi('biz:preprocessed:add')")
     @GetMapping(value = "/run/{id}")
     public AjaxResult run(@PathVariable("id") Long id) throws JsonProcessingException {
@@ -116,6 +122,12 @@ public class PreprocessedController extends BaseController
         }
     }
 
+    /**
+     * 获取结果详情
+     * @param id
+     * @return
+     * @throws JsonProcessingException
+     */
     @PreAuthorize("@ss.hasPermi('biz:preprocessed:add')")
     @GetMapping(value = "/getResultDetails/{id}")
     public AjaxResult getResultDetails(@PathVariable("id") Long id) throws JsonProcessingException {

+ 6 - 0
ips-admin/src/main/java/com/ips/system/controller/TimeFrequencyImagesController.java

@@ -105,6 +105,12 @@ public class TimeFrequencyImagesController extends BaseController
         return toAjax(timeFrequencyImagesService.deleteTimeFrequencyImagesByIds(ids));
     }
 
+    /**
+     * 运行算法模型
+     * @param id
+     * @return
+     * @throws JsonProcessingException
+     */
     @PreAuthorize("@ss.hasPermi('biz:images:add')")
     @GetMapping(value = "/run/{id}")
     public AjaxResult run(@PathVariable("id") Long id) throws JsonProcessingException {

+ 1 - 1
ips-ui/package.json

@@ -93,4 +93,4 @@
     "> 1%",
     "last 2 versions"
   ]
-}
+}