获取指定分类的所有下级列表
${shop.GetAllChildCates(int intParentID[/string strIdentifier])}
参数 | 描述 |
---|---|
intParentID[/string strIdentifier] | 指定的分类ID或者分类标识 |
返回指定分类的所有下级列表。
提示:返回列表包括多层子级。
#foreach($item in ${shop.GetAllChildCates(1)}) ${item.CategoryName} ${item.Sort} <br /> #end
输出:
电子狗 1 导航仪 2