Przeglądaj źródła

1.开放测试接口

HuKang 2 lat temu
rodzic
commit
72eff1e76d

+ 2 - 2
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java

@@ -116,8 +116,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 .antMatchers("/api/wcstask/**").permitAll()
                 .antMatchers("/test/**").permitAll()
                 .antMatchers("/edi/wcs/**").permitAll()
-                .antMatchers("/test/tank/**").permitAll()
-                .antMatchers("/test/wcs2/**").permitAll()
+                .antMatchers("/dev-api/test/tank/**").permitAll()
+                .antMatchers("/dev-api/test/wcs2/**").permitAll()
                 // 库位视图
                 .antMatchers("/ams/locationView/**").permitAll()
                 // 除上面外的所有请求全部需要鉴权认证