From b1fb83530b7105e4aa73e4101727dea945eb01c2 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 29 八月 2025 21:48:15 +0800
Subject: [PATCH] bug修改

---
 cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackageServiceImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackageServiceImpl.java b/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackageServiceImpl.java
index 0dd44be..2e2077e 100644
--- a/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackageServiceImpl.java
+++ b/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackageServiceImpl.java
@@ -949,7 +949,7 @@
         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{
@@ -1285,8 +1285,8 @@
         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);

--
Gitblit v1.7.1