System.Web.Routing.RouteTable.Routes.GetVirtualPath(Request.RequestContext, new System.Web.Routing.RouteValueDictionary(new { action = "Index", id = 999 }));
可用此方法在Controller层生成链接地址,避免硬编码带来重复修改
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3