Sfoglia il codice sorgente

公司组织架构

kevinlan@lpchku.com 4 mesi fa
parent
commit
ca5f752590
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Resources/API/UserInfoResource.php

+ 1 - 1
app/Http/Resources/API/UserInfoResource.php

@@ -32,7 +32,7 @@ class UserInfoResource extends JsonResource
             'menus' => $this->menus ?: [],
             'super_admin'=>Auth::user()->super_admin,
             'fs_password'=>$this->fs_password,
-            'leader' => $this->leader_id,
+            'leader_id' => $this->leader_id,
         ];
     }
 }