Commit 84e97bb0 by qwmqiuwenmin

fix

parent e1994071
...@@ -572,6 +572,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -572,6 +572,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
public void freshWxFrend(String wxEnterpriseId, String wxUserId) { public void freshWxFrend(String wxEnterpriseId, String wxUserId) {
WxEnterpriseDTO enterprise = wxEnterpriseService.selectById(wxEnterpriseId); WxEnterpriseDTO enterprise = wxEnterpriseService.selectById(wxEnterpriseId);
String res = qywxUserApiService.listSelfExternalUserid(enterprise.getCorpid(), enterprise.getWxSecretKey(), wxUserId); String res = qywxUserApiService.listSelfExternalUserid(enterprise.getCorpid(), enterprise.getWxSecretKey(), wxUserId);
if(StringUtils.isBlank(res)){
return;
}
JSONObject json = JSON.parseObject(res); JSONObject json = JSON.parseObject(res);
if("0".equals(json.getString("errcode"))){ if("0".equals(json.getString("errcode"))){
String external_userid = json.getString("external_userid"); String external_userid = json.getString("external_userid");
......
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