摘要:
本文通过设置Access-Control-Allow-Origin来实现跨域。 例如:客户端的域名是client.xxx.com,而请求的域名是server.xxx.com。 如果直接使用ajax访问,会有以下错误: XMLHttpRequest cannot load http://server. 阅读全文
posted @ 2020-09-17 13:32
dnddn
阅读(507)
评论(0)
推荐(0)
you have to be an expert of something, then you can find the way to succeed!