解決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
相關文章
相關標籤/搜索