#444 | //优先从缓存文件里面读取? |
#445 | if (!$new && file_exists($cache_file_path)) { |
#446 | $cacheTime = filemtime($cache_file_path); |
#447 | if ($_ENV['_time'] - $cacheTime < $life) { |
#448 | $huilvdata = json_decode(file_get_contents($cache_file_path), true); |
#449 | }else{ |
#450 | unlink($cache_file_path); |
#451 | } |
#452 | } |
#453 |