...
|
...
|
@@ -198,6 +198,7 @@ class PlusstarData |
|
|
$param = Yohobuy::param();
|
|
|
$param['brand_id'] = $brandInfo['data']['brand_id'];
|
|
|
$param['udid'] = $udid;
|
|
|
$param['uid'] = $uid;
|
|
|
$param['limit'] = 3;
|
|
|
$param['client_type'] = $clientType;
|
|
|
$param['private_key'] = Yohobuy::$privateKeyList[$clientType];
|
...
|
...
|
@@ -205,7 +206,6 @@ class PlusstarData |
|
|
|
|
|
$article = Yohobuy::get(Yohobuy::SERVICE_URL.self::URI_BRANDINFO_ARTICLE.'getArticleByBrand', $param);
|
|
|
$result['getArticleByBrand'] = empty($article['data']) ? array() : $article['data'];
|
|
|
// file_put_contents('../../../../../../Desktop/app/n/getArticleByBrand.txt', var_export($result['getArticleByBrand'], true));
|
|
|
|
|
|
// 是否收藏店铺
|
|
|
$param = Yohobuy::param();
|
...
|
...
|
@@ -221,12 +221,6 @@ class PlusstarData |
|
|
}else{
|
|
|
$result['getUidBrandFav'] = false;
|
|
|
}
|
|
|
// 相关资讯列表 (3篇)
|
|
|
// $result['getArticleByBrand'] = array();
|
|
|
// Yohobuy::yarConcurrentCall(Yohobuy::PRD_SERVICE_URL . self::URI_BRANDINFO_ARTICLE, 'getArticleByBrand', array($brandInfo['data']['brand_id'], 3, $udid), function($retval) use(&$result) {
|
|
|
// $result['getArticleByBrand'] = empty($retval) ? array() : $retval;
|
|
|
// file_put_contents('../../../../../../Desktop/app/o/getArticleByBrand.txt', var_export($retval, true));
|
|
|
// });
|
|
|
|
|
|
// 新品到着列表 (6篇)
|
|
|
$result['getNewProduct'] = array();
|
...
|
...
|
|