曾超新 5 years ago
parent 95d18ac663
commit aaf09fe8e3
  1. 2
      frontend/controllers/MarketingStrategyController.php

@ -650,7 +650,7 @@ class MarketingStrategyController extends UserBaseController
if(in_array($gift_info['id'], $order_gift_ids)) {
$tmp_row['gifts'][$index]['selected'] = 1;
$tmp_gift = GiftT::findOne('id='.$gift_info['id']);
if($tmp_gift && $tmp_gift->type_id == 1) {
if($tmp_gift && $tmp_gift->type_id == 2) {
$tmp_row['gifts'][$index]['img_src'] = $order_gift_srcs[$gift_info['id']];
} else {
$tmp_row['gifts'][$index]['img_src'] = '';

Loading…
Cancel
Save