lrf 2 년 전
부모
커밋
d9a7ae46b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/business/lessonStudent.js

+ 1 - 1
app/service/business/lessonStudent.js

@@ -116,7 +116,7 @@ class LessonStudentService extends CrudService {
         // 有余额扣款部分,查账单把钱加上
         // 有余额扣款部分,查账单把钱加上
         const billId = _.get(payOrder, 'config,bill');
         const billId = _.get(payOrder, 'config,bill');
         const bill = await this.billModel.findById(billId);
         const bill = await this.billModel.findById(billId);
-        obj.money = _.get(obj, 'money', 0) + _.get(bill, 'money', 0);
+        // obj.money = _.get(obj, 'money', 0) + _.get(bill, 'money', 0);
         bill.is_pay = '-3';
         bill.is_pay = '-3';
         await bill.save();
         await bill.save();
       }
       }