...
|
...
|
@@ -1157,7 +1157,6 @@ class HelperSearch |
|
|
'activities_id_desc' => 'activities.activity_id:desc',
|
|
|
'activities_id_asc' => 'activities.activity_id:asc',
|
|
|
);
|
|
|
|
|
|
$param = array();
|
|
|
$param['status'] = 1; // 是否上架,1表示在架,2表示不在
|
|
|
$param['sales'] = 'Y'; // 只搜索销售的产品
|
...
|
...
|
@@ -1182,7 +1181,6 @@ class HelperSearch |
|
|
if (!empty($condition)) {
|
|
|
$param += $condition;
|
|
|
}
|
|
|
|
|
|
return Yohobuy::httpBuildQuery(self::getUrl(), $param);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -1218,8 +1216,8 @@ class HelperSearch |
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 并行调接口url获取(获取品牌数据)
|
|
|
*/
|
|
|
* 并行调接口url获取(获取品牌数据)
|
|
|
*/
|
|
|
public static function getBrandUrl($customOptions = array())
|
|
|
{
|
|
|
// 构建必传参数
|
...
|
...
|
@@ -1312,8 +1310,8 @@ class HelperSearch |
|
|
elseif ($type == 'shop') {
|
|
|
return 'http://101.200.31.165/yohosearch/shops.json';
|
|
|
}
|
|
|
return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
// return 'http://192.168.10.64:8080/yohosearch/search-once.json';
|
|
|
// return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
return 'http://192.168.10.64:8080/yohosearch/search-once.json';
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|