|
@@ -99,8 +99,8 @@ public class AlgorithmController {
|
|
|
**/
|
|
|
@Log(title = "获取数据参数名称", businessType = BusinessType.EXECUTE)
|
|
|
@GetMapping("/data/{ossId}")
|
|
|
- public CommonResult<List<String>> getDataByOssId(@PathVariable Long ossId) {
|
|
|
- return CommonResult.success(algorithmService.getDataByOssId(ossId));
|
|
|
+ public CommonResult<String> getDataByOssId(@PathVariable Long ossId) {
|
|
|
+ return CommonResult.success(algorithmService.getDataByOssId(ossId), "");
|
|
|
}
|
|
|
/**
|
|
|
* 获取曲线数据根据OssId
|
|
@@ -110,7 +110,7 @@ public class AlgorithmController {
|
|
|
**/
|
|
|
@Log(title = "获取数据参数名称", businessType = BusinessType.EXECUTE)
|
|
|
@GetMapping("/playback/data/{ossId}")
|
|
|
- public CommonResult<List<String>> getPlaybackDataByOssId(@PathVariable Long ossId) {
|
|
|
- return CommonResult.success(algorithmService.getDataByOssId(ossId));
|
|
|
+ public CommonResult<String> getPlaybackDataByOssId(@PathVariable Long ossId) {
|
|
|
+ return CommonResult.success(algorithmService.getDataByOssId(ossId), "");
|
|
|
}
|
|
|
}
|