ASP.NET Core FromQuery 参数
时间:2020-04-24 23:20:48
收藏:0
阅读:898
//URL : ...... &Date1=2020-04-28&Date2=8208&IDs[]=1&IDs[]=3
[HttpGet]
public JsonResult Test(
DateTime Date1,
DateTime Date2,
[FromQuery(Name = "IDs[]")] List<int> IDs
){
//.....
}
原文:https://www.cnblogs.com/lonelyxmas/p/12770414.html
评论(0)