Browse Source

add to local

stanley-king 8 years ago
parent
commit
14bb699553
1 changed files with 6 additions and 1 deletions
  1. 6 1
      mobile/control/search.php

+ 6 - 1
mobile/control/search.php

@@ -91,7 +91,12 @@ class searchControl extends mobileHomeControl
         $params = $param->format();
 
         if($params == false) {
-            return self::outerr(errcode::ErrParamter);
+            return self::outsuccess(array('special_list' => null,
+                'summary'  => null,
+                'groupbuy' => null,
+                'limitime' => null,
+                'bundling' => null,
+                'mobile_page' => mobile_page(0)));
         } else {
             $result = search\tcp_client::instance()->get_result($params);
         }