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

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

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