wlzboy
2025-09-21 7d81ce01560d384f15212edc40ebeaa9924913f9
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/")