1.Nginx通过CORS实现跨域
add_header 'Access-Control-Allow-Origin' 'https://wlt-client.tourismshow.cn' always; Access-Control-Allow-Credentials: true always; https://mp.weixin.qq.com/s?__biz=MzI3MTI2NzkxMA==&mid=2247484408&idx=1&sn=5c64dd43ff2060e1c4a22d93e4e887c9&chksm=eac522d1ddb2abc7b576878a2e85204f988a38f9294158a139a51c2df540e40a8c6bef112c8e&mpshare=1&scene=1&srcid=0527Z34YTJ9oL6xCZUtNrE6w&sharer_sharetime=1590565036008&sharer_shareid=9740bba782c9689ef96565edaf6756f2&rd2werd=1#wechat_redirect https://www.jianshu.com/p/c03d33663cfc 参考:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Access_control_CORS