public ActionResult test()
{
FormCollection f = new FormCollection();
f["data"] = "我的数据我作主";
return postTest(f);
}
[HttpPost]
public ActionResult postTest(FormCollection f)
{
string s = f["data"];
return Content(s);
}
Action中直接post
最新推荐文章于 2021-03-24 06:30:21 发布