ZxcZxc123 2 tahun lalu
induk
melakukan
562a7d3136
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/model/api/CourseModel.php

+ 1 - 0
app/model/api/CourseModel.php

@@ -10,6 +10,7 @@ class CourseModel extends Model
 {
 {
 
 
     protected $table = 'table_education_course';
     protected $table = 'table_education_course';
+    protected $pk = 'course_id';
 
 
     /**
     /**
      * 添加课程
      * 添加课程