路线信息
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
// Parameter defaults
);
routes.MapRoute(
"Default1", // Route name
"{controller}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
网址信息
http://localhost:24060/home/22323 //Failed
http://localhost:24060/home/index/22323 //Passed\
查询,我怎样才能同时传递两个网址?