Commit 0a73f28d by 徐康

Merge branch 'feature/20200727_麦咖啡p1v2支付券码路由' into develop

parents 86fca62a e9f1877a
......@@ -98,7 +98,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()) && !requestUrl.contains("openStoreMCCafeQueryPaymentCallback")
&& !(requestUrl.contains("MCoffee") && !requestUrl.contains("MCoffee/createMCCafeOrder"))) {
throw new CommonServiceException(CommonResponseResult.USER_UNAUTHORIZED);
}
} else {
......
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