lrf 2 年 前
コミット
7030c4e067
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/service/business/payOrder.js

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

@@ -56,7 +56,7 @@ class PayOrderService extends CrudService {
       await tempApply.save();
       await tempApply.save();
       // 修改完申请,再创建 lessonStudent
       // 修改完申请,再创建 lessonStudent
       const { lesson_id, student_id, school_id } = tempApply;
       const { lesson_id, student_id, school_id } = tempApply;
-      const obj = { lesson_id, student_id, school_id, is_pay, pay_id, config };
+      const obj = { lesson_id, student_id, school_id, is_pay, pay_id, config, money };
       await this.lessonStudentService.create(obj);
       await this.lessonStudentService.create(obj);
     } else if (pay_for === 'charge') {
     } else if (pay_for === 'charge') {
       // 充值
       // 充值