Commit 9dd90cef by Huang Linyu

add returned value vipGrade

parent 630fa234
......@@ -140,6 +140,12 @@ public class FriendsController {
response.setMessage(String.valueOf(friendId));
} else {
ResponseFriendBean responseFriendBean = new ResponseFriendBean();
UserExt userExt = userExtService.GetUserExtInfoByPhone(golfFriend.getFriendPhone());
if(userExt!=null && (checkIfCommuneUser(userExt))){
responseFriendBean.setVipGrade(2);
}else{
responseFriendBean.setVipGrade(0);
}
BeanConverter.copyProperties(responseFriendBean, oldFriend);
response.setBody(responseFriendBean);
}
......
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 sign in to comment