Commit 492de1b8 by fudahua

好友批处理 优化

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