|
@@ -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') {
|
|
// 充值
|
|
// 充值
|