极光ID修改接口

This commit is contained in:
谢洪龙 2017-07-21 17:57:24 +08:00
parent 3c4a165775
commit 2be9f19249
1 changed files with 9 additions and 0 deletions

View File

@ -375,6 +375,12 @@ public class UserHelper implements UserHelperI {
bln = true; bln = true;
} }
String registerId = user.getJiguangUserid();
if (StringUtils.isNotBlank(registerId)) {
curUser.setJiguangUserid(registerId);
bln = true;
}
//有参数变更 //有参数变更
if (bln) { if (bln) {
//更新用户信息 //更新用户信息
@ -699,6 +705,9 @@ public class UserHelper implements UserHelperI {
userMap.put("P2PVerifyCode1", tmpUser.getP2pverifyCode1()); userMap.put("P2PVerifyCode1", tmpUser.getP2pverifyCode1());
userMap.put("P2PVerifyCode2", tmpUser.getP2pverifyCode2()); userMap.put("P2PVerifyCode2", tmpUser.getP2pverifyCode2());
userMap.put("gwellUserID", tmpUser.getGwellUserid()); userMap.put("gwellUserID", tmpUser.getGwellUserid());
if (StringUtils.isNotBlank(tmpUser.getJiguangUserid())) {
userMap.put("jiguangUserid", tmpUser.getJiguangUserid());
}
//userMap.put("userType", tmpUser.getUserType()); //userMap.put("userType", tmpUser.getUserType());
if (tmpUser.getUpdateTime() != null) { if (tmpUser.getUpdateTime() != null) {
userMap.put("updateTime", IfishUtil.format(tmpUser.getUpdateTime())); userMap.put("updateTime", IfishUtil.format(tmpUser.getUpdateTime()));