代码改变世界

随笔档案-2013年08月

记一下 NopCommerce新增菜单

2013-08-01 13:32 by 河水, 616 阅读, 收藏,
摘要: 首先在控制器中添加方法、并添加视图接着在Nop.Web.Infrastructure中的RouteProvider中新增解析@Url.RouteUrl("CustomerInfo") 读取的是Nop.Web.Infrastructure中的RouteProvider类例如routes.MapLocalizedRoute("CustomerInfo","customer/info",//路径new { controller = "Customer", action = "Info" },//con 阅读全文