diff --git a/hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java b/hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java index 32f011ea..5bd580bf 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java @@ -279,9 +279,9 @@ public class OrderController { @ApiOperation(value = "汇联通工会卡支付") public ResponseData hltUnionCardPay(@RequestBody String reqBodyStr,HttpServletRequest request) { try { - /* // 用户 + // 用户 SessionObject sessionObject = userCenter.getSessionObject(request); - HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject();*/ + HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject(); if (StringUtils.isBlank(reqBodyStr)) { log.error("orderToPay error!", "参数错误"); @@ -292,7 +292,7 @@ public class OrderController { Long orderId = jsonObject.getLong("orderId"); String password = jsonObject.getString("password"); -/* if (StringUtils.isBlank(cardNo) || orderId == null) { + if (StringUtils.isBlank(cardNo) || orderId == null) { log.error("orderToPay error!", "参数错误"); throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); } @@ -310,7 +310,7 @@ public class OrderController { if (!AESEncodeUtil.aesEncrypt(password).equals(userPayPassword.getPassword())) { log.error("orderToPay error!", ""); throw ErrorHelp.genException(SysCode.System, ErrorCode.USER_PAY_PWD_ERROR, ""); - }*/ + } // 查询用户与卡号的关系 HighUserCard userCard = highUserCardService.getDetailByUserCardNo(1L, cardNo);