set($key, $value); } // 读取缓存 public static function get($key) { $cache = self::getCacheInstance(); return $cache->get($key); } // 删除缓存 public static function delete($key) { $cache = self::getCacheInstance(); return $cache->delete($key); } // 清理缓存 public static function flush() { $cache = self::getCacheInstance(); return $cache->flush(); } }