...
|
...
|
@@ -4,6 +4,7 @@ namespace Product; |
|
|
|
|
|
use WebPlugin\HelperSearch;
|
|
|
use Product\SearchModel;
|
|
|
use LibModels\Web\Product\SearchData;
|
|
|
use Api\Yohobuy;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -19,13 +20,10 @@ class IndexModel |
|
|
$urlList = array();
|
|
|
$searchCondition = SearchModel::searchCondition($customCondition, $customOptions);
|
|
|
// 组合搜索商品url
|
|
|
$urlList['product'] = HelperSearch::getProductUrl($searchCondition['condition']);
|
|
|
$urlList['product'] = SearchData::getProductUrl($searchCondition['condition']);
|
|
|
|
|
|
// 组合搜索分类url
|
|
|
$urlList['sort'] = HelperSearch::getClassesUrl($searchCondition['sortCondition']);
|
|
|
|
|
|
//用户浏览记录
|
|
|
//$urlList['reviewUrl'] = HelperSearch::getReviewUrl($searchCondition['condition']);
|
|
|
$urlList['sort'] = SearchData::getClassesUrl($searchCondition['sortCondition']);
|
|
|
|
|
|
//批量调接口获取数据
|
|
|
$result = Yohobuy::getMulti($urlList, array(), true);
|
...
|
...
|
|