if(Request->ajax()){
echo "AJAX";
}else{
echo '普通请求';
}
laravel判断HTTP请求是否ajax
最新推荐文章于 2021-08-05 23:16:41 发布
if(Request->ajax()){
echo "AJAX";
}else{
echo '普通请求';
}