hejinbo před 2 roky
rodič
revize
06b0822a15

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/DeptIdentifyServiceImpl.java Zobrazit soubor

390
             String prefix = "/profile";
390
             String prefix = "/profile";
391
             int startIndex = fileName.indexOf(prefix);
391
             int startIndex = fileName.indexOf(prefix);
392
             startIndex += prefix.length();
392
             startIndex += prefix.length();
393
-            String annexPath = "home/ruoyi/uploadPath" + fileName.substring(startIndex);
393
+            String annexPath = "uploadPath" + fileName.substring(startIndex);
394
             templateManage.setTemOrigPath(annexPath);
394
             templateManage.setTemOrigPath(annexPath);
395
             String format = getFileExtension(fileName);
395
             String format = getFileExtension(fileName);
396
             templateManage.setTemFormat(format);
396
             templateManage.setTemFormat(format);