获取顶级产品分类指令
指令介绍
productCategoryTopList,获取一级产品分类。
方法参数
无
使用方法
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<@productCategoryTopList>
<#list productCategoryList as cate>
<p>
${cate.name}
</p>
</#list>
</@productCategoryTopList>
</body>
</html>