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