Commit 9db7a31c by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/featur/1.9.18_channel_鉴权' into qa

parents 51b53c97 897eb4ad
......@@ -90,7 +90,8 @@ public class WebAspect {
throw new CommonServiceException(CommonResponseResult.USER_UNAUTHORIZED);
}
List<String> unauthorizedUrls = Arrays.asList(getNotFilterUrl(CommonRedisKeyConstant.SAAS_NOT_AUTHORIZED_URL, NOT_AUTHORIZED_KEY).split(","));
if (!unauthorizedUrls.contains(requestUrl) && StringUtils.isEmpty(userInfo.getUnionId())) {
if (!unauthorizedUrls.contains(requestUrl) && StringUtils.isEmpty(userInfo.getUnionId())
&& (StringUtils.isEmpty(userInfo.getChannel()) || !"3".equals(userInfo.getChannel()))) {
throw new CommonServiceException(CommonResponseResult.USER_UNAUTHORIZED);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment