isOptions()) { return json(); } $data=[ "info"=>"", "action"=>"", "url"=>$request->server()['REQUEST_URI'], "param"=>json_encode($request->param(),JSON_UNESCAPED_UNICODE), "name"=>'', "addtime"=>date("Y-m-d H:i:s") ]; SystemLog::create($data); return $next($request); } }