此请求已被阻止,因为当用在 GET 请求中时,会将敏感信息透漏给第三方网站。若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet。
时间:2016-12-07 09:38:34
收藏:0
阅读:1135
return new JsonResult() { Data = new { message = "成功!", }, JsonRequestBehavior = JsonRequestBehavior.AllowGet//加上这一句 };
原文:http://www.cnblogs.com/mchuang/p/6139831.html
评论(0)