Commit 492de1b8 by fudahua

好友批处理 优化

parent 8bb0459b
...@@ -1348,6 +1348,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1348,6 +1348,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
String name = ""; String name = "";
String createTime = ""; String createTime = "";
String avatar = ""; String avatar = "";
Integer friendType = 1;
if (StringUtils.isNotBlank(uJ)) { if (StringUtils.isNotBlank(uJ)) {
JSONObject jo = JSON.parseObject(uJ); JSONObject jo = JSON.parseObject(uJ);
String external_contact = jo.getString("external_contact"); String external_contact = jo.getString("external_contact");
...@@ -1359,6 +1360,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1359,6 +1360,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
if (StringUtils.isBlank(name)) { if (StringUtils.isBlank(name)) {
name = "--"; name = "--";
} }
friendType = jt.getInteger("type");
avatar = jt.getString("avatar"); avatar = jt.getString("avatar");
} }
if (StringUtils.isNotBlank(uj_follow_user)) { if (StringUtils.isNotBlank(uj_follow_user)) {
...@@ -1384,6 +1386,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1384,6 +1386,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
pojo.setAddCreateTime(createTime); pojo.setAddCreateTime(createTime);
pojo.setWxEnterpriseId(wxEnterpriseId); pojo.setWxEnterpriseId(wxEnterpriseId);
pojo.setAvatar(avatar); pojo.setAvatar(avatar);
pojo.setFriendType(friendType);
return EntityUtil.changeEntityByJSON(ExternalUserDTO.class, pojo); return EntityUtil.changeEntityByJSON(ExternalUserDTO.class, 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