摘要:
if($request->header('X-Requested-With') == 'XMLHttpRequest'){ //ajax请求 if(Request->ajax()){ echo "AJAX"} else {"No Ajax"} 阅读全文
摘要:
if($request->header('X-Requested-With') == 'XMLHttpRequest'){ //ajax请求 if(Request->ajax()){ echo "AJAX"} else {"No Ajax"} 阅读全文
|