zhaowenxuan
2025-02-27 b8f2e278bf413f3207496f30cc00f6f62e8e1399
ltkj-framework/src/main/java/com/ltkj/framework/config/SecurityConfig.java
@@ -116,6 +116,8 @@
                // 静态资源,可匿名访问
                .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
                .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
                // 三方可调用接口
                .antMatchers("/api/viewReport","/api/reportData","/api/getInfo").permitAll()
                .antMatchers("/jmreport/**","/lis/**","/pacs/**","/callBack/**","/hosp/order/signOrderInfo").anonymous()
                // 除上面外的所有请求全部需要鉴权认证
                .anyRequest().authenticated()