Commit 897eb4ad by xiaoer.li@freemud.com

change:channel=3跳过 鉴权

parent 875a41da
......@@ -91,7 +91,7 @@ public class WebAspect {
}
List<String> unauthorizedUrls = Arrays.asList(getNotFilterUrl(CommonRedisKeyConstant.SAAS_NOT_AUTHORIZED_URL, NOT_AUTHORIZED_KEY).split(","));
if (!unauthorizedUrls.contains(requestUrl) && StringUtils.isEmpty(userInfo.getUnionId())
|| (StringUtils.isEmpty(userInfo.getChannel()) || !"3".equals(userInfo.getChannel()))) {
&& (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