Authored by hf

add channel and guang page cache

... ... @@ -48,10 +48,9 @@ class DetailData
return $cached;
}
}
return $result;
// 获取资讯
$article = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_PACKAGE_ARTICLE, 'getArticle', array($id, $clientType), false, 1000);
$article = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_PACKAGE_ARTICLE, 'getArticle', array($id, $clientType), false, 1000);
if (!isset($article['author_id'])) {
return $result;
}
... ...