Authored by 周少峰

search default

... ... @@ -618,6 +618,9 @@ class SearchData
if(!empty($condition)) {
$param = Yohobuy::param();
$param['method'] = 'web.search.search';
$param['sales'] = 'Y';
$param['outlets'] = 2;
$param['stocknumber'] = 1;
$param += $condition;
$param['client_secret'] = Sign::getSign($param);
... ...
... ... @@ -65,9 +65,6 @@ class IndexModel
$url['fav_brand'] = SearchData::getBrandListUrl();
//新品上架
$productParam['new'] = 'Y';
$productParam['sales'] = 'Y';
$productParam['outlets'] = 2;
$productParam['stocknumber'] = 1;
$productParam['order'] = 's_t_desc';
$productParam['viewNum'] = 10;
$url['new'] = SearchData::webSearchByCondition($productParam, true);
... ...