浏览代码

Merge remote-tracking branch 'origin/websocket' into websocket

lionared 7 年之前
父节点
当前提交
5641816600
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      helper/goods_helper.php
  2. 1 1
      mobile/control/special.php

+ 2 - 2
helper/goods_helper.php

@@ -200,13 +200,13 @@ class goods_helper
             array_push($ret['bundling'],$val);
         }
 
-        $ret['bargain'] = [];
+        $ret['bargain_create'] = [];
         foreach ($goods_list as $goods)
         {
             $gid = intval($goods['goods_id']);
             $item = activity\bargain_goods::instance()->get_info($gid);
             if($item != false) {
-                $ret['bargain'][] = $item;
+                $ret['bargain_create'][] = $item;
             }
         }
 

+ 1 - 1
mobile/control/special.php

@@ -117,7 +117,7 @@ class specialControl extends mobileHomeControl
                 'groupbuy' => $goodsex['groupbuy'],
                 'limitime' => $goodsex['limitime'],
                 'bundling' => $goodsex['bundling'],
-                'bargain' => $goodsex['bargain'],
+                'bargain_create' => $goodsex['bargain_create'],
                 'mobile_page' => mobile_page(1));
         }
         else