wlzboy
2025-12-25 ae478a3d5dab28dd598d39f27429e4a544b15ad2
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -37,6 +37,10 @@
        registry.addResourceHandler(Constants.RESOURCE_PREFIX + "/**")
                .addResourceLocations("file:" + RuoYiConfig.getProfile() + "/");
        /** 二维码图片访问路径 */
        registry.addResourceHandler("/qrcode/**")
                .addResourceLocations("file:" + RuoYiConfig.getProfile() + "/qrcode/");
        /** swagger配置 */
        registry.addResourceHandler("/swagger-ui/**")
                .addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/")