{"StatusCode":400,"Info":"请求参数不完整或不正确","Data":""}
ajax:
$(document).ready(function () { $.ajax({ url: "api/Service/GET", type: "GET", success: function (result) { console.log(result); }, error: function (error) { alert(error); } }); });
后台方法:
[HttpGet]
public void GET()
{
ssToken();
}
url: "api/Service",