| | |
| | | Store store = storeClient.queryStoreById(storeId); |
| | | |
| | | if (store.getOperatorId()==null || store.getOperatorId()==0){ |
| | | ResultUtil weixinpay = payMoneyUtil.weixinpay("报名运动营", "", code, coursePackagePaymentConfig.getId().toString(), |
| | | ResultUtil weixinpay = payMoneyUtil.weixinpay("报名运动营", "", code, paymentPrice.toString(), |
| | | "/base/course/weChatPaymentCourseCallback", "APP", ""); |
| | | return weixinpay; |
| | | }else{ |
| | |
| | | Long userCouponId = coursePackageOrder1.getUserCouponId(); |
| | | |
| | | userCouponClient.updateUserCouponStatus(userCouponId,coursePackage.getStoreId(),coursePackage.getSiteId()); |
| | | CoursePackagePaymentConfig coursePackagePaymentConfig = coursePackagePaymentConfigService.getById(attach); |
| | | addCoursePackageOrderStudent(coursePackageOrder1.getId(), coursePackagePaymentConfig); |
| | | // CoursePackagePaymentConfig coursePackagePaymentConfig = coursePackagePaymentConfigService.getById(attach); |
| | | // addCoursePackageOrderStudent(coursePackageOrder1.getId(), coursePackagePaymentConfig); |
| | | TCoursePackage byId = coursePackageService.getById(coursePackageOrder1.getCoursePackageId()); |
| | | Store store = storeClient.queryStoreById(byId.getStoreId()); |
| | | // moneyOut(trade_no,trade_no,code); |