Browse Source

Dispatcher 去掉 user-key认证

master
lxc 2 years ago
parent
commit
74db91d2c1
  1. 1
      lpro/src/main/java/com/lp/authority/AuthorityIntercept.java

1
lpro/src/main/java/com/lp/authority/AuthorityIntercept.java

@ -46,6 +46,7 @@ public class AuthorityIntercept {
|| requestUrl.contains("/mail") || requestUrl.contains("/bind") || requestUrl.contains("/live") ||
requestUrl.contains("/mqtt") || requestUrl.contains("/baidu") || requestUrl.contains("/vp") ||requestUrl.contains("/noauth")
|| requestUrl.endsWith("/") || requestUrl.contains("/dictionary")) {
return true;
} else {
if (ObjectUtil.isNotEmpty(userKey) || requestMethod.equals("PUT") || requestMethod.equals("POST")

Loading…
Cancel
Save