1.mvc 路由配置
routes.MapRoute(
name: "Product",
url: "item/{id}.html",
defaults: new { controller = "Product", action = "Index" },
constraints: new { id = @"^d+" }
);
1.mvc 路由配置
routes.MapRoute(
name: "Product",
url: "item/{id}.html",
defaults: new { controller = "Product", action = "Index" },
constraints: new { id = @"^d+" }
);