打印创建问诊订单log

This commit is contained in:
wucongxing 2023-05-16 10:02:25 +08:00
parent 58fa7187c9
commit 145579067d
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace App\Factory;
use Hyperf\Cache\Cache;
use Hyperf\Cache\CacheManager;
class CacheFactory extends Cache
{
protected $driver;
public function __construct(CacheManager $manager)
{
parent::__construct($manager);
$this->driver = $manager->getDriver('prod');
}
}

View File

@ -0,0 +1,10 @@
<?php
namespace App\Factory;
use Hyperf\Redis\Redis;
class ProdRedisFactory extends Redis
{
protected string $poolName = 'prod';
}