Merge branch 'hjb' of SH-Arbitrate/Arbitrate-Backend into dev
This commit was merged in pull request #254.
This commit is contained in:
+4
-4
@@ -2844,15 +2844,15 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
return AjaxResult.error("请选择要上传的文件");
|
||||
}
|
||||
UUID uuid = UUID.randomUUID();
|
||||
//String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
|
||||
String targetPath = "D:/home/unzip/" + uuid + "/";
|
||||
String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
|
||||
// String targetPath = "D:/home/unzip/" + uuid + "/";
|
||||
File zipFile = null;
|
||||
InputStream ins = null;
|
||||
try {
|
||||
ins = file.getInputStream();
|
||||
//上传的压缩包保存的路径
|
||||
//String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
|
||||
String savePath = "D:/home/zipFile/";
|
||||
String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
|
||||
// String savePath = "D:/home/zipFile/";
|
||||
String saveName = uuid + "_" + file.getOriginalFilename();
|
||||
zipFile = new File(savePath + saveName);
|
||||
inputChangeToFile(ins, zipFile);
|
||||
|
||||
Reference in New Issue
Block a user