完善商品栏目管理选择模板,商品栏目、商品伪静态地址生成
This commit is contained in:
@@ -81,13 +81,13 @@ namespace COMCMS.Web.Common
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if(typeid == 1)
|
||||
else if(typeid == 1)//商品
|
||||
{
|
||||
if (ArticleCategory.FindCount(ArticleCategory._.FilePath == pathname , null, null, 0, 0) > 0)
|
||||
if (Category.FindCount(Category._.FilePath == pathname & Category._.Id != kid, null, null, 0, 0) > 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (Category.FindCount(Category._.FilePath == pathname & Category._.Id != kid, null, null, 0, 0) > 0)
|
||||
if (ArticleCategory.FindCount(ArticleCategory._.FilePath == pathname, null, null, 0, 0) > 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user