クロスドメインのプロジェクトの問題点
1.クロスドメイン:
スクリプトに他のサイトを実行できないブラウザを指し、それは安全なブラウザの制限です
クロスドメインの違い
1.非跨域请求
http://www.123.com/index调用http://www.123.com/userinfo
2.跨域请求
主域名不同
http://www.123.com/index调用http://www.321.com/userinfo
子域名不同
http://abc.123.com/index调用http://def.123.com/userinfo
端口不同
http://www.123.com:8000/index调用http://www.123.com:9000/server
协议不同
http://www.123.com:9000/index调用https://www.123.com:9000/server