当前位置: 代码迷 >> 综合 >> .net webservice 在js调用跨域问题
  详细解决方案

.net webservice 在js调用跨域问题

热度:49   发布时间:2024-01-24 22:16:53.0

Context.Response.AddHeader("Access-Control-Allow-Origin", "*");

在接口方法中加入即可

  相关解决方案