route()->getName()){ return 1; } $m_id=empty(request()->member['m_id'])?:0; $url = request()->url(); $token=request()->header('Authorization'); if(empty($token)){ $token = request()->input('token',''); } $data=request()->all(); $data['token']=$token; $ip=CommonServer::creatServer()->getClientIp(); //广播弹幕-进入队列 return MemberLog::create( [ 'm_id' => $m_id, 'url' => $url, 'msg' => '', 'ip' => $ip, 'data' => http_build_query($data), ] ); } }