Commit 8bf7a6db by 墨竹

Merge remote-tracking branch 'origin/developer' into developer

parents a6d66f1b d3406d0d
......@@ -150,11 +150,13 @@ public class EnterpriseController extends WebBaseController {
return;
}
list.forEach(one -> {
String wxEnterpriseId = one.getWxEnterpriseId();
String key = String.format(MEMBER_RELATE_ENT_OPE_KEY, wxEnterpriseId);
Object cache = RedisUtil.getCache(key);
if (Objects.nonNull(cache)) {
one.setOpenMassFlag(Boolean.FALSE);
if (one.getOpenMassFlag()) {
String wxEnterpriseId = one.getWxEnterpriseId();
String key = String.format(MEMBER_RELATE_ENT_OPE_KEY, wxEnterpriseId);
Object cache = RedisUtil.getCache(key);
if (Objects.nonNull(cache)) {
one.setOpenMassFlag(Boolean.FALSE);
}
}
});
}
......
......@@ -189,10 +189,7 @@ public class MessageApiServiceImpl implements MessageApiService {
return false;
}
String userid = dto.getUserid();
// 当前规则 userId是12位并且以5开头
if (userid.length() != 12) {
return false;
}
// 只处理5开头的-不是5开头不同步
return userid.startsWith("5");
}
......
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