文件路径更换

This commit is contained in:
RuoYi
2019-07-17 09:28:15 +08:00
parent 7922cabb5b
commit dcd6f2252f
4 changed files with 30 additions and 27 deletions

View File

@ -121,7 +121,7 @@ public class Global
*/
public static String getAvatarPath()
{
return getConfig("ruoyi.profile") + "avatar/";
return getProfile() + "/avatar";
}
/**
@ -129,7 +129,7 @@ public class Global
*/
public static String getDownloadPath()
{
return getConfig("ruoyi.profile") + "download/";
return getProfile() + "/download";
}
/**
@ -137,6 +137,6 @@ public class Global
*/
public static String getUploadPath()
{
return getConfig("ruoyi.profile") + "upload/";
return getProfile() + "/upload";
}
}