Browse Source

认证

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

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

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

Loading…
Cancel
Save