Commit e6878e93 by 裴大威

fix 放开直接拉群

parent a96d932f
...@@ -155,8 +155,8 @@ public class BookGuideBizImpl implements BookGuideBiz { ...@@ -155,8 +155,8 @@ public class BookGuideBizImpl implements BookGuideBiz {
return; return;
} }
// 生产环境限制30,其它5和10,全部使用群链接 // 生产环境限制30,其它5和10,全部使用群链接
// final boolean isPro = "pro".equalsIgnoreCase(BookProps.getSystemEnv()); final boolean isPro = "pro".equalsIgnoreCase(BookProps.getSystemEnv());
// if ((!StringUtil.isBlank(num) && Integer.parseInt(num) >= (isPro ? 30 : 5)) || peopleCounts >= (isPro ? 30 : 10)) { if ((!StringUtil.isBlank(num) && Integer.parseInt(num) >= (isPro ? 30 : 5)) || peopleCounts >= (isPro ? 30 : 10)) {
SendGroupInviteVO sendGroupInviteVO = new SendGroupInviteVO(); SendGroupInviteVO sendGroupInviteVO = new SendGroupInviteVO();
sendGroupInviteVO.setAltId(agreeAddUserDTO.getRobotWxId()); sendGroupInviteVO.setAltId(agreeAddUserDTO.getRobotWxId());
sendGroupInviteVO.setWxId(agreeAddUserDTO.getUserWxId()); sendGroupInviteVO.setWxId(agreeAddUserDTO.getUserWxId());
...@@ -167,21 +167,21 @@ public class BookGuideBizImpl implements BookGuideBiz { ...@@ -167,21 +167,21 @@ public class BookGuideBizImpl implements BookGuideBiz {
updateQrcodeForCipher(wxGroupId, cipher, agreeAddUserDTO.getUserWxId()); updateQrcodeForCipher(wxGroupId, cipher, agreeAddUserDTO.getUserWxId());
return; return;
// } // }
// AddToGroupVO vo1 = new AddToGroupVO(); AddToGroupVO vo1 = new AddToGroupVO();
// vo1.setWxGroupId(wxGroupId); vo1.setWxGroupId(wxGroupId);
// vo1.setWxId(agreeAddUserDTO.getUserWxId()); vo1.setWxId(agreeAddUserDTO.getUserWxId());
// vo1.setAltId(agreeAddUserDTO.getRobotWxId()); vo1.setAltId(agreeAddUserDTO.getRobotWxId());
// vo1.setIp(agreeAddUserDTO.getIp()); vo1.setIp(agreeAddUserDTO.getIp());
// log.info("[同意加好友发送欢迎语 拉群] AddToGroupVO :{}", vo1); log.info("[同意加好友发送欢迎语 拉群] AddToGroupVO :{}", vo1);
// WxGroupSDK.addToGroup(vo1); WxGroupSDK.addToGroup(vo1);
// // 进群之后更新群qrCodeId // 进群之后更新群qrCodeId
// updateQrcodeForCipher(wxGroupId, cipher, agreeAddUserDTO.getUserWxId()); updateQrcodeForCipher(wxGroupId, cipher, agreeAddUserDTO.getUserWxId());
// // 拉一次+1 // 拉一次+1
// if (StringUtil.isBlank(num)) { if (StringUtil.isBlank(num)) {
// JedisClusterUtils.getSet(BookConstant.WXGROUP_ADD_USER_NUM + agreeAddUserDTO.getRobotWxId(), "1", 3600 * 24); JedisClusterUtils.getSet(BookConstant.WXGROUP_ADD_USER_NUM + agreeAddUserDTO.getRobotWxId(), "1", 3600 * 24);
// } else { } else {
// JedisClusterUtils.incr(BookConstant.WXGROUP_ADD_USER_NUM + agreeAddUserDTO.getRobotWxId()); JedisClusterUtils.incr(BookConstant.WXGROUP_ADD_USER_NUM + agreeAddUserDTO.getRobotWxId());
// } }
} }
@ParamLog("进群之后更新群qrCodeId") @ParamLog("进群之后更新群qrCodeId")
......
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