Authored by 郭成尧

isLimitbuy

... ... @@ -11,7 +11,7 @@
<span class="sale-price">&yen;{{sales_price}}</span>
</p>
</a>
{{#unlessor isApp isGlobal}}
{{#unlessor isApp isGlobal isLimitbuy}}
<p>
<span class="check-detail add-to-cart" data-skn="{{product_skn}}">
<span class="iconfont">&#xe62c;</span>
... ...
... ... @@ -179,6 +179,13 @@ exports.processProductList = (list, options) => {
product.isGlobal = true;
}
/**
* 限定商品标记
*/
if (product.is_limitbuy === 'Y') {
product.isLimitbuy = true;
}
// APP访问需要加附加的参数
// 备注:如果以后APP的接口太多,可以把这边参数提取出来,变成一个公共的方法来生成,便于以后管理维护
if (options.isApp) {
... ...