diff --git a/crmeb/app/model/system/SystemRouteCate.php b/crmeb/app/model/system/SystemRouteCate.php index 354960a74..c8137e906 100644 --- a/crmeb/app/model/system/SystemRouteCate.php +++ b/crmeb/app/model/system/SystemRouteCate.php @@ -37,7 +37,7 @@ class SystemRouteCate extends BaseModel * @email 136327134@qq.com * @date 2023/4/7 */ - public function children() + public function childrenList() { return $this->hasMany(SystemRoute::class, 'cate_id', 'id')->field(['id', 'cate_id', 'name', 'path', 'method'])->order('add_time desc'); }