|
|
|
|
|
|
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);
|