Commit ea300934 by 徐高华

刷新好友

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