删除多余路径
This commit is contained in:
parent
cf600c2094
commit
16b97676ab
@ -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/**")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user