lrf 2 năm trước cách đây
mục cha
commit
4f2d817101
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      app/service/business/lessonStudent.js

+ 0 - 2
app/service/business/lessonStudent.js

@@ -48,7 +48,6 @@ class LessonStudentService extends CrudService {
 
   async toRePay({ id }) {
     const data = await this.model.findById(id);
-    console.log(data);
     if (!data) throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到报名信息');
     if (data.is_pay === '1') throw new BusinessError(ErrorCode.SERVICE_FAULT, '该课程已支付成功');
     const payOrder = await this.payOrderModel.findById(data.pay_id);
@@ -72,7 +71,6 @@ class LessonStudentService extends CrudService {
   }
 
   async create(data) {
-    console.log(data);
     // 检查是否能报名上课
     data = await this.beforeCreate(data);
     // 能报名上课,就直接创建数据