update telegram & user edit

This commit is contained in:
Tokumeikoi
2020-05-25 17:20:48 +08:00
parent b851f1207a
commit afcd0d9c10
3 changed files with 3 additions and 9 deletions

View File

@ -47,13 +47,7 @@ class UserController extends Controller
abort(500, '参数错误');
}
return response([
'data' => User::select([
'email',
'u',
'd',
'transfer_enable',
'expired_at'
])->find($request->input('id'))
'data' => User::find($request->input('id'))
]);
}