cqp 1 개월 전
부모
커밋
27d6ebc654
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Service/MiddleGroundService.php

+ 2 - 2
app/Service/MiddleGroundService.php

@@ -309,7 +309,7 @@ class MiddleGroundService extends Service
             //权限
             $sysList = SysMenu::where('del_time',0)
                 ->where('type', SysMenu::type_zero)
-                ->select('title','icon','uri','parent_id','sort','id','is_authority', 'state')
+                ->select('title','icon','uri','parent_id','sort','id', 'state')
                 ->orderBy('sort','desc')
                 ->get()
                 ->toArray();
@@ -321,7 +321,7 @@ class MiddleGroundService extends Service
         }elseif($type == "all"){
             $sysList = SysMenu::where('del_time',0)
                 ->where('type', SysMenu::type_one)
-                ->select('title','icon','uri','parent_id','sort','id','is_authority', 'state')
+                ->select('title','icon','uri','parent_id','sort','id', 'state')
                 ->orderBy('sort','desc')
                 ->get()
                 ->toArray();