...
|
...
|
@@ -165,7 +165,7 @@ class Yohobuy |
|
|
$url = self::httpBuildQuery($url, $data);
|
|
|
} //echo $url;
|
|
|
|
|
|
UdpLog::debug('get shut api', $url);
|
|
|
//UdpLog::debug('get shut api', $url);
|
|
|
|
|
|
/* 开启缓存的情况 */
|
|
|
if ($cache && USE_CACHE) {
|
...
|
...
|
@@ -678,11 +678,9 @@ class Yohobuy |
|
|
return false;
|
|
|
}
|
|
|
|
|
|
|
|
|
UdpLog::debug('read memcache');
|
|
|
$interfaceShunt = Cache::getBy('INTERFACE_SHUT_KEY', 'master');
|
|
|
|
|
|
UdpLog::debug('read memcahe: ', $interfaceShunt);
|
|
|
// UdpLog::debug('read memcahe: ', $interfaceShunt);
|
|
|
if (empty($interfaceShunt)) {
|
|
|
return false;
|
|
|
}
|
...
|
...
|
|