This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
zhangzl
/
file_api
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
upload
master
zhaodengke
1 year ago
parent
207da08761
commit
e2d51ba05a
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ruoyi-file/src/main/java/com/ruoyi/file/service/FileSystemService.java
+ 1
- 0
ruoyi-file/src/main/java/com/ruoyi/file/service/FileSystemService.java
View File
@@ -72,6 +72,7 @@ public class FileSystemService
else if(req.allowOverride())
{
// override
throw new RuntimeException("目标文件已存在, 不允许覆盖: " + dst);
}
else
throw new RuntimeException("目标文件已存在: " + dst);
Write
Preview
Loading…
Cancel
Save