Commit bb21be36 authored by zhangfeng's avatar zhangfeng

bug-576: 注册规则校验修改

parent c796bbc9
...@@ -47,7 +47,7 @@ public class RegisterStrategy extends AbstractScoreRuleStrategy { ...@@ -47,7 +47,7 @@ public class RegisterStrategy extends AbstractScoreRuleStrategy {
} }
// 校验注册平台 // 校验注册平台
ScoreRuleRegisterExtraVO scoreRuleRegisterExtraVO = JsonUtils.parseObject(scoreRuleDO.getExtra(), ScoreRuleRegisterExtraVO.class); ScoreRuleRegisterExtraVO scoreRuleRegisterExtraVO = JsonUtils.parseObject(scoreRuleDO.getExtra(), ScoreRuleRegisterExtraVO.class);
if (scoreRuleRegisterExtraVO != null && !"2,3".equals(scoreRuleRegisterExtraVO.getRegisterPlatform())) { if (scoreRuleRegisterExtraVO != null) {
if (!scoreRuleRegisterExtraVO.getRegisterPlatform().contains(String.valueOf(message.getRegisterPlatform()))) { if (!scoreRuleRegisterExtraVO.getRegisterPlatform().contains(String.valueOf(message.getRegisterPlatform()))) {
log.info("Register listener: The register platform does not match,userID:{}", userId); log.info("Register listener: The register platform does not match,userID:{}", userId);
return; return;
......
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