src/Contracts/HttpService.php
private static function getCacheName($name)
    {
        if (empty(self::$cachePath)) {
            self::$cachePath = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR;
        }
        self::$cachePath = rtrim(self::$cachePath, '/\\') . DIRECTORY_SEPARATOR;
        file_exists(self::$cachePath) || mkdir(self::$cachePath, 0755, true);
        return self::$cachePath . $name;
    }
private static function getCacheName($name)
    {
        if (empty(self::$cachePath)) {
            self::$cachePath = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR;
        }
        self::$cachePath = rtrim(self::$cachePath, '/\\') . DIRECTORY_SEPARATOR;
        file_exists(self::$cachePath) || mkdir(self::$cachePath, 0755, true);
        return self::$cachePath . $name;
    }
应用缓存目录
@param string $name
@return string