完善商品栏目管理选择模板,商品栏目、商品伪静态地址生成
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user