$data = WeannSocialiteFacadesSocialite::driver('wechat')->user();//是字符串 $data=json_encode($data); $data=json_decode($data);