Authored by cailing

Merge branch 'release/4.8' of http://git.yoho.cn/fe/YOHOBUYPC into release/4.8

... ... @@ -12,6 +12,7 @@
namespace Api;
use WebPlugin\Cache;
use WebPlugin\UdpLog;
class Yohobuy
{
/* 正式环境 */
... ... @@ -175,6 +176,7 @@ class Yohobuy
if (!empty($data)) {
$url = self::httpBuildQuery($url, $data);
} //echo $url;
UdpLog::info($url);
/* 开启缓存的情况 */
if ($cache && USE_CACHE) {
// 先尝试获取一级缓存(master), 有数据则直接返回.
... ...