完善商品栏目管理选择模板,商品栏目、商品伪静态地址生成

This commit is contained in:
2024-06-26 17:48:08 +08:00
parent e97763bfab
commit 6a5ef1226c
14 changed files with 294 additions and 64 deletions
@@ -28,6 +28,14 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
pinyin = pcategory.FilePath+"/";
}
}
else if(t == "category" && pid > 0)
{
Category pcategory = Category.FindById(pid);
if (pcategory != null && !string.IsNullOrEmpty(pcategory.FilePath))
{
pinyin = pcategory.FilePath + "/";
}
}
if (!string.IsNullOrEmpty(name))
{