Browse Source

企业信息 增加字段

kphcdr 1 year ago
parent
commit
0de15ef8e4
1 changed files with 1 additions and 1 deletions
  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),
         ];
     }