heheng
2024-11-20 2d27b24029adafdbfc5703b38a519d65beda6a68
expert-common/src/main/java/com/gkhy/common/utils/file/ImageUtils.java
@@ -9,7 +9,7 @@
import org.apache.poi.util.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gkhy.common.config.expertConfig;
import com.gkhy.common.config.ExpertConfig;
import com.gkhy.common.constant.Constants;
import com.gkhy.common.utils.StringUtils;
@@ -79,7 +79,7 @@
            else
            {
                // 本机地址
                String localPath = expertConfig.getProfile();
                String localPath = ExpertConfig.getProfile();
                String downloadPath = localPath + StringUtils.substringAfter(url, Constants.RESOURCE_PREFIX);
                in = new FileInputStream(downloadPath);
            }