Authored by 郭成尧

'YOHO币促销信息不显示问题解决'

@@ -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'] . '月';