| | |
| | | }) |
| | | public ResultUtil continuationOperation(ClasspaymentRequest request) { |
| | | try { |
| | | Integer userIdFormRedis = tokenUtil.getUserIdFormRedis(); |
| | | if (null == userIdFormRedis) { |
| | | Integer userId = tokenUtil.getUserIdFormRedis(); |
| | | if (null == userId) { |
| | | return ResultUtil.tokenErr(); |
| | | } |
| | | Integer couponId = request.getConponId(); |
| | | if (couponId == null || couponId == 0) { |
| | | request.setConponId(null); |
| | | } |
| | | return packagePaymentService.ContinuationOrpaymentCourse(userIdFormRedis, request); |
| | | return packagePaymentService.ContinuationOrpaymentCourse(userId, request); |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |