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