摘要: 限制所有MVC接收到的HTTP请求必须是POST方式。 一、HttpPostAttribute特性 大家首先想到时的,MVC提供了HttpPostAttribute特性,是用于限制HTTP请求必须POST方式来提交。 public class HomeController : Controller 阅读全文
posted @ 2017-07-12 08:32 你也很优秀 阅读(1042) 评论(0) 推荐(0) 编辑