/** * 设置连接 */ private function setConnection() { $this->connection = new Redis(\Qp\Kernel\Redis\RedisConfig::getFrontCache(), $this->config_data); }