Showing
2 changed files
with
1 additions
and
1 deletions
@@ -79,7 +79,7 @@ class ItemModel | @@ -79,7 +79,7 @@ class ItemModel | ||
79 | //促销活动banner | 79 | //促销活动banner |
80 | $goodsInfo['activity'] = self::getActivityDataByProductBaseInfo($baseInfo); | 80 | $goodsInfo['activity'] = self::getActivityDataByProductBaseInfo($baseInfo); |
81 | 81 | ||
82 | - if (isset($baseInfo['productPriceBo']['yohoCoinNum'])) { | 82 | + if (isset($baseInfo['productPriceBo']['yohoCoinNum']) && $baseInfo['productPriceBo']['yohoCoinNum'] !== 0) { |
83 | array_push($goodsInfo['activity'], | 83 | array_push($goodsInfo['activity'], |
84 | array('type' => '返YOHO币', 'des' => '每件返 ' . $baseInfo['productPriceBo']['yohoCoinNum'] . '个 YOHO币') | 84 | array('type' => '返YOHO币', 'des' => '每件返 ' . $baseInfo['productPriceBo']['yohoCoinNum'] . '个 YOHO币') |
85 | ); | 85 | ); |
-
Please register or login to post a comment