获取产品详情指令
指令介绍
productInfo,类似文章指令,根据产品uuid,获取产品详情。
方法参数
参数名称 | 参数说明 | 参数类型 | 是否必须 |
uuid | 文章uuid | String | 是 |
使用方法
在页面里面,使用如下
<@productInfo uuid='产品uuid'>
产品标题:
${product.title}
产品介绍:
${product.content}
productInfo,类似文章指令,根据产品uuid,获取产品详情。
参数名称 | 参数说明 | 参数类型 | 是否必须 |
uuid | 文章uuid | String | 是 |
在页面里面,使用如下
<@productInfo uuid='产品uuid'>
产品标题:
${product.title}
产品介绍:
${product.content}