这是因为,laravel把postman发送的请求没有当成了ajax请求必须在请求头里加上X-Requested-With: XMLHttpRequest才是ajax请求
X-Requested-With: XMLHttpRequest
来源:https://www.cnblogs.com/c-aha/p/14023658.html