获取指定的多个分类列表
${shop.GetCates(string strCateIDs)}
| 参数 | 描述 |
|---|---|
| strCateIDs | 指定的多个分类ID,以","间隔。 |
返回指定的多个分类列表。
无
#foreach($item in ${shop.GetCates("1,2,5")})
${item.CategoryName} ${item.Sort} <br />
#end
输出:
电子狗 1
点烟器 2
导航仪 2