|
|
@ -107,7 +107,6 @@ public class WechatController { |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(highUser.getId()); |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(highUser.getId()); |
|
|
|
detailData.setPassword(null); |
|
|
|
detailData.setPassword(null); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
|
|
|
|
|
|
|
|
SessionObject so = new SessionObject(highUser.getUnionId(), 1 , highUserModel); |
|
|
|
SessionObject so = new SessionObject(highUser.getUnionId(), 1 , highUserModel); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
|
|
|
|
|
|
|
@ -155,7 +154,6 @@ public class WechatController { |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(user.getId()); |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(user.getId()); |
|
|
|
detailData.setPassword(null); |
|
|
|
detailData.setPassword(null); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
|
|
|
|
|
|
|
|
SessionObject so = new SessionObject(user.getUnionId(), 1 , highUserModel); |
|
|
|
SessionObject so = new SessionObject(user.getUnionId(), 1 , highUserModel); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
|
|
|
|
|
|
|
@ -222,9 +220,9 @@ public class WechatController { |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(user.getId()); |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(user.getId()); |
|
|
|
detailData.setPassword(null); |
|
|
|
detailData.setPassword(null); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
|
|
|
|
|
|
|
|
SessionObject so = new SessionObject(user.getUnionId(), 1 , highUserModel); |
|
|
|
SessionObject so = new SessionObject(user.getUnionId(), 1 , highUserModel); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success(so); |
|
|
|
return ResponseMsgUtil.success(so); |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
@ -335,10 +333,10 @@ public class WechatController { |
|
|
|
|
|
|
|
|
|
|
|
// 定义个人所有数据
|
|
|
|
// 定义个人所有数据
|
|
|
|
HighUserModel highUserModel = new HighUserModel(); |
|
|
|
HighUserModel highUserModel = new HighUserModel(); |
|
|
|
user.setPassword(null); |
|
|
|
HighUser detailData = highUserService.getDetailDataByUser(user.getId()); |
|
|
|
highUserModel.setHighUser(user); |
|
|
|
detailData.setPassword(null); |
|
|
|
user.setIsSetPayPwd(highUserPayPasswordService.isSetPayPwd(user.getId())); |
|
|
|
highUserModel.setHighUser(detailData); |
|
|
|
SessionObject so = new SessionObject(userInfo.getString("unionid"), 1 , highUserModel); |
|
|
|
SessionObject so = new SessionObject(user.getUnionId(), 1 , highUserModel); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
userCenter.save(request, response, so); |
|
|
|
return ResponseMsgUtil.success(so); |
|
|
|
return ResponseMsgUtil.success(so); |
|
|
|
|
|
|
|
|
|
|
|