Authored by hf

gulp ge to gzip css js

@@ -139,7 +139,9 @@ class SearchData @@ -139,7 +139,9 @@ class SearchData
139 $param['order'] = $order; 139 $param['order'] = $order;
140 $param['page'] = $page; 140 $param['page'] = $page;
141 $param['limit'] = $limit; 141 $param['limit'] = $limit;
142 - $param += $condition; 142 + if (!empty($condition)) {
  143 + $param += $condition;
  144 + }
143 $param['client_secret'] = Sign::getSign($param); 145 $param['client_secret'] = Sign::getSign($param);
144 146
145 return Yohobuy::get(Yohobuy::API_URL, $param, 600); // 有缓存10分钟 147 return Yohobuy::get(Yohobuy::API_URL, $param, 600); // 有缓存10分钟
This diff could not be displayed because it is too large.