111
This commit is contained in:
+1
-1
@@ -390,7 +390,7 @@ public class DeptIdentifyServiceImpl implements IDeptIdentifyService {
|
|||||||
String prefix = "/profile";
|
String prefix = "/profile";
|
||||||
int startIndex = fileName.indexOf(prefix);
|
int startIndex = fileName.indexOf(prefix);
|
||||||
startIndex += prefix.length();
|
startIndex += prefix.length();
|
||||||
String annexPath = "home/ruoyi/uploadPath" + fileName.substring(startIndex);
|
String annexPath = "uploadPath" + fileName.substring(startIndex);
|
||||||
templateManage.setTemOrigPath(annexPath);
|
templateManage.setTemOrigPath(annexPath);
|
||||||
String format = getFileExtension(fileName);
|
String format = getFileExtension(fileName);
|
||||||
templateManage.setTemFormat(format);
|
templateManage.setTemFormat(format);
|
||||||
|
|||||||
Reference in New Issue
Block a user