//获取账号名 var Name = document.getElementById("Text1").value;//获取密码 var Pass = document.getElementById("Password1").value; //获取真实姓名 var Realname = document.getElementById("Text3").value; //获取联系电话 var Telphone = document.getEleme
Nuget安装包:microsoft.aspnet.webapi.cors 原文地址:https://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api Enable CORS Now let's enable CORS in the WebService app. First, add the CORS NuGet package. In Visual Studio, from the