|
@@ -178,6 +178,13 @@ public class CommonController {
|
|
|
return new ResponseEntity<>(new FileSystemResource(file), headers, status);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("downloadPartUrlFile")
|
|
|
+ @Operation(summary = "由报告系统下载接口调用获得本分析系统的文件夹层级路径")
|
|
|
+ public String downloadPartUrlFile(@RequestBody String url) {
|
|
|
+ String filePath = fileUtils.getSystemPath() + url;
|
|
|
+ return Response.success(filePath);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/upload/chunks")
|
|
|
@Operation(summary = "上传分片")
|
|
|
public String uploadChunks(MultipartFile file, String md5, Integer index) throws IOException {
|