mirror of
https://github.com/easychen/pushdeer.git
synced 2025-01-08 22:15:57 +08:00
修正user info 返回为数组的问题
This commit is contained in:
parent
b85850c9db
commit
3768dc00a7
@ -10,7 +10,7 @@ class PushDeerUserController extends Controller
|
||||
public function info(Request $request)
|
||||
{
|
||||
//return $_SESSION;
|
||||
return http_result(PushDeerUser::where('id', $_SESSION['uid'])->get());
|
||||
return http_result(PushDeerUser::where('id', $_SESSION['uid'])->get()->first());
|
||||
}
|
||||
|
||||
public function fakeLogin(Request $request)
|
||||
|
Loading…
Reference in New Issue
Block a user