新增微信头像url
This commit is contained in:
parent
cfd63d829d
commit
46c5e66ca3
|
|
@ -18,6 +18,11 @@ public class UserInfoDto {
|
|||
*/
|
||||
private String unionId;
|
||||
|
||||
/**
|
||||
* 微信头像url
|
||||
*/
|
||||
private String wechatImgUrl;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
|
|
@ -163,4 +168,12 @@ public class UserInfoDto {
|
|||
public void setUnionId(String unionId) {
|
||||
this.unionId = unionId;
|
||||
}
|
||||
|
||||
public String getWechatImgUrl() {
|
||||
return wechatImgUrl;
|
||||
}
|
||||
|
||||
public void setWechatImgUrl(String wechatImgUrl) {
|
||||
this.wechatImgUrl = wechatImgUrl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -137,8 +137,6 @@ public class User implements Serializable{
|
|||
@Column(name = "wechat_unionid")
|
||||
private String wechatUnionid;
|
||||
|
||||
private String wechatImgUrl;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
|
|
@ -304,12 +302,4 @@ public class User implements Serializable{
|
|||
public void setWechatUnionid(String wechatUnionid) {
|
||||
this.wechatUnionid = wechatUnionid;
|
||||
}
|
||||
|
||||
public String getWechatImgUrl() {
|
||||
return wechatImgUrl;
|
||||
}
|
||||
|
||||
public void setWechatImgUrl(String wechatImgUrl) {
|
||||
this.wechatImgUrl = wechatImgUrl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -378,6 +378,8 @@ public class UserServiceImpl implements UserService {
|
|||
userDao.executeLoginUpdate(userId,user.getLoginType());
|
||||
//用户基本信息
|
||||
UserInfoDto userInfoDto = getUserInfoDto(user, gwellParam);
|
||||
//微信头像
|
||||
userInfoDto.setWechatImgUrl(headimgurl);
|
||||
//用户资产信息
|
||||
UserAssetDto userAssetDto = getUserAssetInfo(userId);
|
||||
//返回json信息
|
||||
|
|
@ -389,8 +391,6 @@ public class UserServiceImpl implements UserService {
|
|||
/**
|
||||
* 登录返回信息
|
||||
*/
|
||||
//微信头像
|
||||
user.setWechatImgUrl(headimgurl);
|
||||
//用户信息
|
||||
json.put("user", getUserInfo(user,gwellParam));
|
||||
//用户资产
|
||||
|
|
@ -1287,7 +1287,6 @@ public class UserServiceImpl implements UserService {
|
|||
json.put("gwellUserID", user.getGwellUserID());
|
||||
json.put("neteaseToken", user.getNeteaseToken());
|
||||
json.put("userType", user.getUserType());
|
||||
json.put("wechatImgUrl", user.getWechatImgUrl());
|
||||
json.put("shopsUserId", user.getShopsUserId());
|
||||
return json;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue