|
@@ -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)
|