ZxcZxc123 2 years ago
parent
commit
06215a6cc1
1 changed files with 5 additions and 5 deletions
  1. 5 5
      app/model/api/EducationModel.php

+ 5 - 5
app/model/api/EducationModel.php

@@ -9,11 +9,11 @@ use think\Model;
     */
     */
 class EducationModel extends Model
 class EducationModel extends Model
     {
     {
-    // 设置当前模型对应的数据表名称
-    protected $name = 'table_education_cate';
-
-    // 设置当前模型的数据库连接
-    protected $connection = 'infant_service';
+//    // 设置当前模型对应的数据表名称
+//    protected $name = 'table_education_cate';
+//
+//    // 设置当前模型的数据库连接
+//    protected $connection = 'infant_service';
 
 
     /**
     /**
      * 当前所在模块的CSS样式类
      * 当前所在模块的CSS样式类