|
@@ -1157,7 +1157,6 @@ class HelperSearch |
|
@@ -1157,7 +1157,6 @@ class HelperSearch |
1157
|
'activities_id_desc' => 'activities.activity_id:desc',
|
1157
|
'activities_id_desc' => 'activities.activity_id:desc',
|
1158
|
'activities_id_asc' => 'activities.activity_id:asc',
|
1158
|
'activities_id_asc' => 'activities.activity_id:asc',
|
1159
|
);
|
1159
|
);
|
1160
|
-
|
|
|
1161
|
$param = array();
|
1160
|
$param = array();
|
1162
|
$param['status'] = 1; // 是否上架,1表示在架,2表示不在
|
1161
|
$param['status'] = 1; // 是否上架,1表示在架,2表示不在
|
1163
|
$param['sales'] = 'Y'; // 只搜索销售的产品
|
1162
|
$param['sales'] = 'Y'; // 只搜索销售的产品
|
|
@@ -1182,7 +1181,6 @@ class HelperSearch |
|
@@ -1182,7 +1181,6 @@ class HelperSearch |
1182
|
if (!empty($condition)) {
|
1181
|
if (!empty($condition)) {
|
1183
|
$param += $condition;
|
1182
|
$param += $condition;
|
1184
|
}
|
1183
|
}
|
1185
|
-
|
|
|
1186
|
return Yohobuy::httpBuildQuery(self::getUrl(), $param);
|
1184
|
return Yohobuy::httpBuildQuery(self::getUrl(), $param);
|
1187
|
}
|
1185
|
}
|
1188
|
|
1186
|
|
|
@@ -1218,8 +1216,8 @@ class HelperSearch |
|
@@ -1218,8 +1216,8 @@ class HelperSearch |
1218
|
}
|
1216
|
}
|
1219
|
|
1217
|
|
1220
|
/**
|
1218
|
/**
|
1221
|
- * 并行调接口url获取(获取品牌数据)
|
|
|
1222
|
- */
|
1219
|
+ * 并行调接口url获取(获取品牌数据)
|
|
|
1220
|
+ */
|
1223
|
public static function getBrandUrl($customOptions = array())
|
1221
|
public static function getBrandUrl($customOptions = array())
|
1224
|
{
|
1222
|
{
|
1225
|
// 构建必传参数
|
1223
|
// 构建必传参数
|
|
@@ -1312,8 +1310,8 @@ class HelperSearch |
|
@@ -1312,8 +1310,8 @@ class HelperSearch |
1312
|
elseif ($type == 'shop') {
|
1310
|
elseif ($type == 'shop') {
|
1313
|
return 'http://101.200.31.165/yohosearch/shops.json';
|
1311
|
return 'http://101.200.31.165/yohosearch/shops.json';
|
1314
|
}
|
1312
|
}
|
1315
|
- return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
1316
|
-// return 'http://192.168.10.64:8080/yohosearch/search-once.json';
|
1313
|
+// return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
1314
|
+ return 'http://192.168.10.64:8080/yohosearch/search-once.json';
|
1317
|
}
|
1315
|
}
|
1318
|
}
|
1316
|
}
|
1319
|
|
1317
|
|