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