Pārlūkot izejas kodu

企业信息 增加字段

kphcdr 1 gadu atpakaļ
vecāks
revīzija
0de15ef8e4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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),
         ];
     }