28968 8 ヶ月 前
コミット
26d28864cb

+ 4 - 1
taais-modules/taais-biz/src/main/java/com/taais/biz/controller/DataAugmentationController.java

@@ -501,7 +501,10 @@ public class DataAugmentationController extends BaseController {
         // 替换路径
         String input = inputPath.toString().replace(localPathPath.toString(), "/api/profile").replace("\\", "/");
         String output = outputPath.toString().replace(localPathPath.toString(), "/api/profile").replace("\\", "/");
-        return  CommonResult.success(new VideoUrl(input, output));
+        VideoUrl videoUrl = new VideoUrl();
+        videoUrl.setInput(input);
+        videoUrl.setOutput(output);
+        return  CommonResult.success(videoUrl);
     }
 
 }

+ 0 - 19
taais-modules/taais-biz/src/main/java/com/taais/biz/domain/vo/VideoUrl.java

@@ -7,24 +7,5 @@ public class VideoUrl {
     private String input;
     private String output;
 
-    public VideoUrl(String input, String output) {
-        this.input = input;
-        this.output = output;
-    }
 
-    public String getInput() {
-        return input;
-    }
-
-    public void setInput(String input) {
-        this.input = input;
-    }
-
-    public String getOutput() {
-        return output;
-    }
-
-    public void setOutput(String output) {
-        this.output = output;
-    }
 }