Showing
1 changed file
with
7 additions
and
1 deletions
@@ -78,7 +78,13 @@ class ItemModel | @@ -78,7 +78,13 @@ class ItemModel | ||
78 | $goodsInfo['vipPrice'] = self::getVipDataByProductBaseInfo($baseInfo, $vipLevel, $uid); | 78 | $goodsInfo['vipPrice'] = self::getVipDataByProductBaseInfo($baseInfo, $vipLevel, $uid); |
79 | //促销活动banner | 79 | //促销活动banner |
80 | $goodsInfo['activity'] = self::getActivityDataByProductBaseInfo($baseInfo); | 80 | $goodsInfo['activity'] = self::getActivityDataByProductBaseInfo($baseInfo); |
81 | - | 81 | + |
82 | + if (isset($baseInfo['productPriceBo']['yohoCoinNum'])) { | ||
83 | + array_push($goodsInfo['activity'], | ||
84 | + array('type' => '返YOHO币', 'des' => '每件返 ' . $baseInfo['productPriceBo']['yohoCoinNum'] . '个 YOHO币') | ||
85 | + ); | ||
86 | + } | ||
87 | + | ||
82 | // 上市期 | 88 | // 上市期 |
83 | if (isset($baseInfo['expectArrivalTime']) && !empty($baseInfo['expectArrivalTime'])) { | 89 | if (isset($baseInfo['expectArrivalTime']) && !empty($baseInfo['expectArrivalTime'])) { |
84 | $goodsInfo['arrivalDate'] = $baseInfo['expectArrivalTime'] . '月'; | 90 | $goodsInfo['arrivalDate'] = $baseInfo['expectArrivalTime'] . '月'; |
-
Please register or login to post a comment