dev-discount
袁野 2 years ago
parent c1845e0166
commit ec3fee1dd1
  1. 20
      hai-cweb/src/main/java/com/cweb/controller/WechatController.java
  2. 1
      hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java

@ -353,17 +353,19 @@ public class WechatController {
// 1:需要填写用户信息 // 1:需要填写用户信息
// 2:需要填写手机号 // 2:需要填写手机号
user.setInfoCompleteStatus(1); user.setInfoCompleteStatus(1);
return ResponseMsgUtil.success(user);
} else {
// 定义个人所有数据
HighUserModel highUserModel = new HighUserModel();
HighUser detailData = highUserService.getDetailDataByUser(user.getId());
detailData.setPassword(null);
highUserModel.setHighUser(detailData);
SessionObject so = new SessionObject(user.getPhone(), 1, highUserModel);
userCenter.save(request, response, so);
return ResponseMsgUtil.success(so);
} }
// 定义个人所有数据
HighUserModel highUserModel = new HighUserModel();
HighUser detailData = highUserService.getDetailDataByUser(user.getId());
detailData.setPassword(null);
highUserModel.setHighUser(detailData);
SessionObject so = new SessionObject(user.getPhone(), 1, highUserModel);
userCenter.save(request, response, so);
return ResponseMsgUtil.success(so);
} catch (Exception e) { } catch (Exception e) {
return ResponseMsgUtil.exception(e); return ResponseMsgUtil.exception(e);

@ -247,6 +247,7 @@ public class CzOrderController {
childOrder.setStatus(101); childOrder.setStatus(101);
rechargeOrder.setRechargeStatus(202); rechargeOrder.setRechargeStatus(202);
rechargeOrder.setPayStatus(100); rechargeOrder.setPayStatus(100);
rechargeOrder.setFinishTime(new Date());
outRechargeOrderService.updateOrder(rechargeOrder); outRechargeOrderService.updateOrder(rechargeOrder);
outRechargeChildOrderService.updateOrder(childOrder); outRechargeChildOrderService.updateOrder(childOrder);

Loading…
Cancel
Save