laravel 开发API 如何解决跨域的问题?

JellyBool

要不你就直接写一个 middleware 来实现,要不你就直接用轮子:
https://github.com/barryvdh/laravel-cors