...
|
...
|
@@ -54,7 +54,7 @@ class DetailData |
|
|
}
|
|
|
|
|
|
// 获取资讯
|
|
|
$article = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_PACKAGE_ARTICLE, 'getArticle', array($id, $clientType), false);
|
|
|
$article = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_PACKAGE_ARTICLE, 'getArticle', array($id, $clientType), false, 1500);
|
|
|
if (!isset($article['author_id'])) {
|
|
|
// 再尝试获取二级缓存(slave), 有数据则直接返回.
|
|
|
$cached = Cache::get($key, 'slave');
|
...
|
...
|
|