Authored by yyq

change batch method

... ... @@ -26,10 +26,11 @@ class featureModel extends global.yoho.BaseModel {
return Promise.resolve();
}
// app.search.product.batch & h5.product.batch 出入参数一致,前者忽略接口缓存
return this.get({
data: {
productSkn: _.uniq(skns),
method: 'h5.product.batch',
method: ignoreCache ? 'app.search.product.batch' : 'h5.product.batch',
contain_all: 'Y' // 商品全部返回(包含无库存)
},
param: {
... ...