Showing
2 changed files
with
2 additions
and
2 deletions
@@ -730,7 +730,7 @@ module.exports = class extends global.yoho.BaseModel { | @@ -730,7 +730,7 @@ module.exports = class extends global.yoho.BaseModel { | ||
730 | this._getFavorite(result.product_id, data.uid) | 730 | this._getFavorite(result.product_id, data.uid) |
731 | ]; | 731 | ]; |
732 | 732 | ||
733 | - if (data.bundleType) { | 733 | + if (+data.bundleType) { |
734 | apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(data.productSkn)); | 734 | apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(data.productSkn)); |
735 | } | 735 | } |
736 | 736 |
@@ -111,7 +111,7 @@ module.exports = class extends global.yoho.BaseModel { | @@ -111,7 +111,7 @@ module.exports = class extends global.yoho.BaseModel { | ||
111 | this.queryPromotion(skn), // 4 促销活动 | 111 | this.queryPromotion(skn), // 4 促销活动 |
112 | ]; | 112 | ]; |
113 | 113 | ||
114 | - if (params.bundleType) { | 114 | + if (+params.bundleType) { |
115 | apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(skn)); | 115 | apiArray.push(this.ctx.req.ctx(bundle).getBundleBySkn(skn)); |
116 | } | 116 | } |
117 | 117 |
-
Please register or login to post a comment