修改微信access_token

This commit is contained in:
2023-05-16 17:10:02 +08:00
parent c3ce0af2db
commit bcde789d7f
5 changed files with 38 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Driver;
use App\Factory\ProdRedisFactory;
use Hyperf\Cache\Driver\RedisDriver;
use Hyperf\Redis\Redis;
use Psr\Container\ContainerInterface;
class ProdRedisDriver extends RedisDriver
{
public function __construct(ContainerInterface $container, array $config)
{
parent::__construct($container, $config);
$this->redis = $container->get(ProdRedisFactory::class);
}
}