首先所有属性的名称要不相同

在controller的参数里把复杂类型的参数写里面,如:

[HttpPost]
public ActionResult Details(Order model, OrderContacts contactsModel,OrderExpress expressModel)
{
    //xxxxxx
}

 

相关文章:

  • 2021-08-04
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2021-07-23
  • 2021-06-12
  • 2021-07-06
猜你喜欢
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
相关资源
相似解决方案