|
@@ -81,7 +81,7 @@ public class AlgorithmController {
|
|
|
return StrUtil.isBlank(algorithmService.batchExecute(taskBo)) ? CommonResult.fail() : CommonResult.success();
|
|
|
}
|
|
|
/**
|
|
|
- * 执行任务管理
|
|
|
+ * 获取数据参数名称
|
|
|
*
|
|
|
* @param ossId 入参数据
|
|
|
* @return org.eco.common.core.core.domain.CommonResult<java.lang.String> 结果
|
|
@@ -91,4 +91,15 @@ public class AlgorithmController {
|
|
|
public CommonResult<List<String>> getDataHeader(@PathVariable Long ossId) {
|
|
|
return CommonResult.success(algorithmService.getDataHeader(ossId));
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 获取数据根据OssId
|
|
|
+ *
|
|
|
+ * @param ossId 入参数据
|
|
|
+ * @return org.eco.common.core.core.domain.CommonResult<java.lang.String> 结果
|
|
|
+ **/
|
|
|
+ @Log(title = "获取数据参数名称", businessType = BusinessType.EXECUTE)
|
|
|
+ @GetMapping("/data/{ossId}")
|
|
|
+ public CommonResult<List<String>> getDataByOssId(@PathVariable Long ossId) {
|
|
|
+ return CommonResult.success(algorithmService.getDataByOssId(ossId));
|
|
|
+ }
|
|
|
}
|