diff --git a/ebike-gateway/src/main/java/com/cdzy/gateway/config/SaTokenConfigure.java b/ebike-gateway/src/main/java/com/cdzy/gateway/config/SaTokenConfigure.java index affe807..d10faf4 100644 --- a/ebike-gateway/src/main/java/com/cdzy/gateway/config/SaTokenConfigure.java +++ b/ebike-gateway/src/main/java/com/cdzy/gateway/config/SaTokenConfigure.java @@ -35,7 +35,6 @@ public class SaTokenConfigure { } // 1. 放行不需要鉴权的路径 - SaRouter.match("/user/doLogin").free(r -> {}); SaRouter.match("/staff/ebikeOperatorStaff/login").free(r -> {}); SaRouter.match("/payment/ebikeOrder/api/**").free(r -> {}); SaRouter.match("/payment/wxPayment/api/**").free(r -> {}); @@ -51,7 +50,6 @@ public class SaTokenConfigure { // 3. 其他所有路径统一鉴权 (必须放在最后,避免覆盖前面的规则) SaRouter.match("/**") - .notMatch("/user/doLogin") .notMatch("/staff/ebikeOperatorStaff/login") .notMatch("/payment/ebikeOrder/api/**") .notMatch("/payment/wxPayment/api/**")