疯狂的狮子Li
2021-08-03 2b1c3335f680526e9f7e120f6b0163e04405b933
ruoyi-common/src/main/java/com/ruoyi/common/utils/file/ImageUtils.java
@@ -83,7 +83,7 @@
            {
                // 本机地址
                String localPath = RuoYiConfig.getProfile();
                String downloadPath = localPath + StringUtils.subAfter(url, Constants.RESOURCE_PREFIX,false);
                String downloadPath = localPath + StringUtils.substringAfter(url, Constants.RESOURCE_PREFIX);
                in = new FileInputStream(downloadPath);
            }
            return IOUtils.toByteArray(in);