'提交代码'

dev-discount
胡锐 3 years ago
parent a6404007c2
commit 3560294500
  1. 8
      hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java

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

Loading…
Cancel
Save