小生不才 11 сар өмнө
parent
commit
e55e027d68

+ 2 - 0
jp-console/jeeplus-platform/jeeplus-admin/src/main/java/com/jeeplus/security/config/WebSecurityConfig.java

@@ -75,7 +75,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                         "/sys/getCode",
                         "/app/sys/getCode",
                         "/app/gwfile/download",
+                        "/gwfile/**",
                         "/gwfile/download",
+                        "/gwfile/pdf/preview",
                         "/sys/language/getLanguageMap",
                         "/sys/casLogin" ).permitAll ( ) // 允许请求无需认证
                 .antMatchers ( HttpMethod.OPTIONS, "/**" ).permitAll ( )