ZxcZxc123 1 vuosi sitten
vanhempi
commit
1baf8b9e2e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/api/controller/Education.php

+ 1 - 1
app/api/controller/Education.php

@@ -131,7 +131,7 @@ class Education
      * @throws \think\db\exception\ModelNotFoundException
      */
     public function getCourseInfo($gr_id) {
-        $courses = DB::table('table_education_courses')
+        $courses = DB::table('table_education_course')
             ->where('course_status', 1)
             ->whereIn('gr_id', (array) $gr_id)
             ->where('course_audit', 1)