IList<CategoryInfo> GetCates(string strCateIDs)

定义和用法

获取指定的多个分类列表

语法

${shop.GetCates(string strCateIDs)}
参数 描述
strCateIDs 指定的多个分类ID,以","间隔。

返回值

返回指定的多个分类列表。

提示和注释

例子

            #foreach($item in ${shop.GetCates("1,2,5")})
                ${item.CategoryName} ${item.Sort} <br />
            #end
        

输出:

            电子狗 1 
            点烟器 2 
            导航仪 2