소스 검색

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'],