类别名称如何映射到 nopcommerce 中的类别 ID?
How does the category name gets mapped to category id in nopcommerce?
在 nopcommerce 中,url 中的类别名称如何映射到其对应的 ID。
澄清一下:
"apparel" 在 http://demo.nopcommerce.com/apparel 中如何
在下面的代码中映射到 cagetoryId
public ActionResult Category(int categoryId, CatalogPagingFilteringModel command)
我试图在 RouteProvider class 中找到它,但找不到确切的行。
您好,请在下面的文件中找到此代码
Presentation\Nop.Web.Framework\Seo\GenericPathRoute.cs
代码在这里:public override RouteData GetRouteData(HttpContextBase httpContext)
行号 165。
在 nopcommerce 中,url 中的类别名称如何映射到其对应的 ID。
澄清一下:
"apparel" 在 http://demo.nopcommerce.com/apparel 中如何
在下面的代码中映射到 cagetoryId
public ActionResult Category(int categoryId, CatalogPagingFilteringModel command)
我试图在 RouteProvider class 中找到它,但找不到确切的行。
您好,请在下面的文件中找到此代码
Presentation\Nop.Web.Framework\Seo\GenericPathRoute.cs
代码在这里:public override RouteData GetRouteData(HttpContextBase httpContext)
行号 165。