Sfoglia il codice sorgente

企业信息 增加字段

kphcdr 1 anno fa
parent
commit
0de15ef8e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Modules/Admin/Services/AuthService.php

+ 1 - 1
app/Modules/Admin/Services/AuthService.php

@@ -41,7 +41,7 @@ class AuthService extends BaseService
             "phone" => $u->phone,
             "email" => $u->email,
             "group" => $u->group->name,
-            "role" => $this->role($u),
+            "roles" => $this->role($u),
         ];
     }