获取指定分类的分页产品列表
${shop.GetProducts(int intCategoryID, int pageIndex, int pageSize)}
| 参数 | 描述 |
|---|---|
| intCategoryID | 分类ID |
| pageIndex | 页码 |
| pageSize | 每页记录数 |
返回指定分类的分页产品列表。
提示:排序默认为 Sort顺序,时间倒序
#foreach($item in ${shop.GetProducts(1,1,1)})
${item.ProductName} - ${item.Sort} <br />
#end
输出:
12V车载电源车充 - 1