private static function cache_get($key)
{
$cachedir = dirname(__FILE__) . "/cache";
//找到缓存直接读取缓存目录的文件
if (file_exists($cachedir . '/' . $key)) {
return unserialize(file_get_contents($cachedir . '/' . $key));
} else {
return false;
}
}