解决thinkphp5.1 的跨域问题的一次经历

1,环境:ngxin+thinkphp5.1php 2,问题:使用ajax请求时报错ajax has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on t
相关文章
相关标签/搜索