Authored by yyq

fix bunld

... ... @@ -730,7 +730,7 @@ module.exports = class extends global.yoho.BaseModel {
this._getFavorite(result.product_id, data.uid)
];
if (data.bundleType) {
if (+data.bundleType) {
apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(data.productSkn));
}
... ...
... ... @@ -111,7 +111,7 @@ module.exports = class extends global.yoho.BaseModel {
this.queryPromotion(skn), // 4 促销活动
];
if (params.bundleType) {
if (+params.bundleType) {
apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(skn));
}
... ...