evoxwht 2 anni fa
parent
commit
1c8688432a

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

@@ -255,7 +255,7 @@ class SystemMenus extends AuthController
     public function ruleList()
     {
         //获取所有的路由
-        $ruleList = app()->make(SystemRouteServices::class)->selectList(['app_name' => 'adminapi'], 'name,path,method,type');
+        $ruleList = app()->make(SystemRouteServices::class)->selectList(['app_name' => 'adminapi'], 'name,path,method,type,id');
         $menuApiList = $this->services->getColumn(['auth_type' => 2, 'is_del' => 0], "concat(`api_url`,'_',lower(`methods`)) as rule");
         if ($menuApiList) $menuApiList = array_column($menuApiList, 'rule');
         $list = [];

File diff suppressed because it is too large
+ 1 - 1
crmeb/public/install/.env