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
最新推荐文章于 2020-10-27 11:32:13 发布