|
@@ -42,7 +42,9 @@ class PayOrderService extends CrudService {
|
|
|
const { form_id: _id, status: is_pay } = data;
|
|
|
if (pay_for === 'lessonStudent') {
|
|
|
|
|
|
- await this.lessonStudentModel.updateOne({ _id }, { is_pay });
|
|
|
+ console.log(is_pay, _id);
|
|
|
+ const r = await this.lessonStudentModel.updateOne({ _id }, { is_pay });
|
|
|
+ console.log(r);
|
|
|
} else if (pay_for === 'tempLessonApply') {
|
|
|
|
|
|
const tempApply = await this.tempLessonApplyModel.findById(_id);
|