value
2024-04-03 3bd27d6f6892e60658ca39763d9200743932ee36
framework/src/main/java/com/yuanchu/mom/config/OpenFifer.java
@@ -27,7 +27,8 @@
    @Value("${outPath}")
    private String outPath;
    @Value("${wordUrl}")
    private String wordUrl;
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        //配置拦截器访问静态资源
@@ -38,6 +39,7 @@
        //设置文件虚拟路径映射
        registry.addResourceHandler("/img/**").addResourceLocations("file:"+filePath+"/");
        registry.addResourceHandler("/outPath/**").addResourceLocations("file:"+outPath);
        registry.addResourceHandler("/word/**").addResourceLocations("file:"+wordUrl+"/");
    }
    @Override