Commit ea300934 by 徐高华

刷新好友

parent 7029dfd2
...@@ -942,6 +942,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -942,6 +942,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
String relaName = ""; String relaName = "";
String externalUserId = ""; String externalUserId = "";
String state = ""; String state = "";
int friendType = 1;
if (StringUtils.isNotBlank(unionIdJson)) { if (StringUtils.isNotBlank(unionIdJson)) {
JSONObject jo = JSON.parseObject(unionIdJson); JSONObject jo = JSON.parseObject(unionIdJson);
String external_contact = jo.getString("external_contact"); String external_contact = jo.getString("external_contact");
...@@ -953,6 +954,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -953,6 +954,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
relaName = "--"; relaName = "--";
} }
avatar = jt.getString("avatar"); avatar = jt.getString("avatar");
friendType = jt.getInteger("type");
externalUserId = jt.getString("external_userid"); externalUserId = jt.getString("external_userid");
} }
...@@ -977,6 +979,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -977,6 +979,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
pojo.setExternalUserId(externalUserId); pojo.setExternalUserId(externalUserId);
pojo.setWxEnterpriseId(wxEnterpriseId); pojo.setWxEnterpriseId(wxEnterpriseId);
pojo.setState(state); pojo.setState(state);
pojo.setFriendType(friendType);
return pojo; return pojo;
} }
......
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