修改微信access_token
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user