|
|
@@ -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样式类
|