浏览代码

add to local

stanley-king 8 年之前
父节点
当前提交
91dceddd35
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mobile/control/index.php

+ 2 - 1
mobile/control/index.php

@@ -43,7 +43,8 @@ class indexControl extends specialControl
 
             $helper = new goods_helper();
             $ret = $helper->get_summary($goods_ids,$other_goods);
-            $blocks = special_helper::format_goods($goods_ids,"热门推荐");
+            $blocks = [];
+            $blocks[] = special_helper::format_goods($goods_ids,"热门推荐");
 
             self::outsuccess(array('special_list' => $blocks,
                 'summary' => $ret['summary'],