ZxcZxc123 1 year ago
parent
commit
810f91598f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/system/controller/CourseController.php

+ 2 - 2
app/system/controller/CourseController.php

@@ -94,8 +94,8 @@ class CourseController
      */
      */
     public function editCourse(Request $request)
     public function editCourse(Request $request)
     {
     {
-        $course_id = $request->param('course_id');
-        $course = $request->param('course/a');
+        $course_id = $request->input('course_id');
+        $course = $request->input('course/a');
 
 
         $courseModel = new CourseModel();
         $courseModel = new CourseModel();
         $result = $courseModel->where('course_id', $course_id)->update($course);
         $result = $courseModel->where('course_id', $course_id)->update($course);