Commit 4394dee6 by 徐高华

Merge branch 'feature/xgh/20241月迭代' into 'developer'

好办加好友统计

See merge request !1678
parents 0572e3cf 03ce651e
......@@ -920,10 +920,6 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
HBQwMonitorUtils.addForFriend(0);
this.updateExternalStatus(dto.getExternalUserid(),dto.getStaffId());
String unionIdJson = qywxUserApiService.getCorpSelfExternalUseridInfo(qwDTO.getDkCorpid(), qwDTO.getSelfSecret(), dto.getExternalUserid(),qwDTO.getUrlHost());
if(unionIdJson.contains("徐高华")) {
dto.setWxUserId(wxUserId);
this.qywxErrorLogService.addFriendErrLog(wxEnterpriseId,JSONObject.toJSONString(dto),4 , dto.getExternalUserid());
}
if (StringUtils.isBlank(unionIdJson)) {
log.info("好友不存在");
return null;
......@@ -1394,9 +1390,6 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
uJ = this.qywxUserApiService.getCorpSelfExternalUseridInfo(qwDTO.getDkCorpid(), qwDTO.getSelfSecret(), externalUserId,qwDTO.getUrlHost()) ;
}else {
uJ = this.qywxUserApiService.getExternalUseridInfo(qwDTO.getThirdCorpid(), config.getWxSuiteid(), externalUserId);
if(StringUtils.isNotBlank(uJ) && uJ.contains("徐高华")) {
this.qywxErrorLogService.addFriendErrLog(wxEnterpriseId,tabHaobanStaff.getStaffId(),5,externalUserId);
}
}
if (StringUtils.isBlank(uJ)) {
log.info("好友不存在");
......
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