Silent 7 년 전
부모
커밋
7932ac72e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/WeChat/ApiController.php

+ 1 - 1
app/Http/Controllers/WeChat/ApiController.php

xqd
@@ -293,7 +293,7 @@ class ApiController extends Controller
             $remark_title = RemarkTitle::find($key);
             if(!empty($remark_title) && !empty($value)) {
                 Remark::create([
-                    'student_course_id' => $student_course->id,
+                    'course_id' => $student_course->course_id,
                     'teacher_id' => $student_course_teacher->teacher_id,
                     'student_id' => $student->id,
                 ]);