chenrui
2025-05-09 1223edea2f56e5c3c0e36ea844c12ef55908e3c2
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;
    }
    /**