System.Web.Routing.RouteTable.Routes.GetVirtualPath(Request.RequestContext, new System.Web.Routing.RouteValueDictionary(new { action = "Index", id = 999 }));
可用此方法在Controller层生成链接地址,避免硬编码带来重复修改
Powered by: 博客园 Copyright © 2024 yjss Powered by .NET 9.0 on Kubernetes