修改用户信息

This commit is contained in:
wuyanwen
2020-01-07 19:00:04 +08:00
parent b41121e35b
commit cf4ef949b5
4 changed files with 42 additions and 38 deletions

View File

@@ -47,6 +47,7 @@ class User extends CatchController
*/
public function info(CatchAuth $auth)
{
$user = $auth->user();
$roles = $user->getRoles();