We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以把cache 更换成Symfony\Component\Cache包吗?
The text was updated successfully, but these errors were encountered:
目前此包服务非常多SDK了,不会轻易做任何改动了
Sorry, something went wrong.
$redis =new Redis(); $redis->connect('127.0.0.1', '6379'); $redis->select(2); $redisCache = new RedisCache(); $redisCache->setRedis($redis); $config['cache'] = $redisCache;
比如现在的cache用reids做缓存, 要先实例一个Redis 然后写进配置文件里,我想用easywechat那样的 把缓存信息写进配置文件里。
$app= Application::miniProgram([ 'app_id' => '...', 'secret' => '...', 'cache' => [ 'type' => 'Redis', 'host' => '127.0.0.1', 'port' => 6379, 'password' => '', 'select' => 0, 'prefix' => '', 'serialize' => [] ] ]);
No branches or pull requests
可以把cache 更换成Symfony\Component\Cache包吗?
The text was updated successfully, but these errors were encountered: