zouyu
2025-09-24 2bb12b1ca40b29b7edcf06ef3f3d6de24dde1c4c
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -43,9 +43,6 @@
    @Value("${file.path}")
    private String filePath;
    @Value("${outPath}")
    private String outPath;
    @Value("${wordUrl}")
    private String wordUrl;
@@ -62,7 +59,6 @@
        //设置文件虚拟路径映射
        registry.addResourceHandler("/img/**").addResourceLocations("file:" + filePath + "/");
        registry.addResourceHandler("/outPath/**").addResourceLocations("file:" + outPath);
        registry.addResourceHandler("/word/**").addResourceLocations("file:" + wordUrl + "/");
    }