chenrui
6 天以前 6e7c712456a8cf5693321edd2f3482aaf61d08b0
src/main/java/com/ruoyi/common/utils/file/FileUploadUtils.java
@@ -144,7 +144,8 @@
    {
        int dirLastIndex = RuoYiConfig.getProfile().length() + 1;
        String currentDir = StringUtils.substring(uploadDir, dirLastIndex);
        return Constants.RESOURCE_PREFIX + "/" + currentDir + "/" + fileName;
//        return Constants.RESOURCE_PREFIX + "/" + currentDir + "/" + fileName;
        return currentDir + "/" + fileName;
    }
    /**