Authored by 郝肖肖

Yohobuy get debug

... ... @@ -12,6 +12,7 @@
namespace Api;
use Plugin\Cache;
use Plugin\UdpLog;
class Yohobuy
{
... ... @@ -163,6 +164,9 @@ class Yohobuy
if (!empty($data)) {
$url = self::httpBuildQuery($url, $data);
} //echo $url;
UdpLog::debug('get api', $url);
/* 开启缓存的情况 */
if ($cache && USE_CACHE) {
// 先尝试获取一级缓存(master), 有数据则直接返回.
... ...