|
@@ -149,7 +149,7 @@ public class MktMgmtHandPushServiceImpl implements MktMgmtHandPushService {
|
|
|
String matchedType = "";
|
|
|
|
|
|
// 检查pushApp(appId匹配)
|
|
|
- if (globalRule.getPushApp() != null && !globalRule.getPushApp().isEmpty() && appId != null) {
|
|
|
+ if (!pushValidationConfig.getEnableBundleCheck() && globalRule.getPushApp() != null && !globalRule.getPushApp().isEmpty() && appId != null) {
|
|
|
// 检查是否为All
|
|
|
if (globalRule.getPushApp().stream()
|
|
|
.anyMatch(pushApp -> pushApp != null && "All".equals(pushApp.getAppId()))) {
|
|
@@ -166,7 +166,7 @@ public class MktMgmtHandPushServiceImpl implements MktMgmtHandPushService {
|
|
|
}
|
|
|
|
|
|
// 检查pushBundle(bundle匹配)
|
|
|
- if (!appMatched && globalRule.getPushBundle() != null && !globalRule.getPushBundle().isEmpty() && bundle != null) {
|
|
|
+ if ( !appMatched && pushValidationConfig.getEnableBundleCheck() && globalRule.getPushBundle() != null && !globalRule.getPushBundle().isEmpty() && bundle != null) {
|
|
|
if (globalRule.getPushBundle().contains(bundle)) {
|
|
|
appMatched = true;
|
|
|
matchedType = "bundle";
|