跨域

context.Response.ContentType = "text/javascript";
context.Response.AppendHeader("Access-Control-Allow-Origin", "*");
context.Response.Write(rtnVal);

原文地址:https://www.cnblogs.com/sherlock99/p/4040893.html