日期:2014-05-17 浏览次数:20478 次
$.ajax({
type: "POST",
url: "/Home/Index/"
success: function (msg) {
}
});
------解决方案--------------------
routes.MapRoute(
"MyRoute1",
"Home1/action1/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
routes.MapRoute(
"MyRoute2",
"Home2/action2/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);