liaofei 2 년 전
부모
커밋
c133f4c898
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crmeb/app/model/system/SystemRouteCate.php

+ 1 - 1
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');
     }