Prechádzať zdrojové kódy

Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev

evoxwht 2 rokov pred
rodič
commit
81f08194b1

+ 1 - 1
crmeb/app/adminapi/controller/v1/setting/SystemCrud.php

@@ -231,7 +231,7 @@ class SystemCrud extends AuthController
     public function getMenus()
     {
         return app('json')->success(app()->make(SystemMenusServices::class)
-            ->getList(['auth_type' => 1], ['pid', 'id', 'menu_name as label', 'id as value']));
+            ->getList(['auth_type' => 1, 'is_show' => 1], ['auth_type', 'pid', 'id', 'menu_name as label', 'id as value']));
     }
 
     /**