移除测试用接口
This commit is contained in:
+1
-4
@@ -50,10 +50,7 @@ public class SecurityConfig {
|
||||
spec.pathMatchers("/api/auth/**").permitAll()
|
||||
.pathMatchers("/api/public/**").permitAll()
|
||||
.pathMatchers("/ws/**").permitAll()
|
||||
.pathMatchers("/actuator/**").permitAll()
|
||||
//========TODO lwt 以下是测试接口,生产时必关========
|
||||
.pathMatchers("/api/users/**").permitAll()
|
||||
.pathMatchers("/api/groupCourse/**").permitAll();
|
||||
.pathMatchers("/actuator/**").permitAll();
|
||||
|
||||
|
||||
if (isDevOrTest) {
|
||||
|
||||
Reference in New Issue
Block a user