宝塔面板IIS网站设置跨域(允许CORS跨域访问)
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Methods" value="OPTIONS,POST,GET"></add>
<add name="Access-Control-Allow-Headers" value="x-requested-with,Content-Type"></add>
<add name="Access-Control-Allow-Origin" value="*" ></add>
</customHeaders>
</httpProtocol>
转载自https://blog.csdn.net/zzzili/article/details/117517542