feat: redis
This commit is contained in:
@@ -13,6 +13,7 @@ namespace App\Service\Common;
|
||||
use App\Cache\Redis\Common\CommonRedisKey;
|
||||
use App\Cache\Redis\RedisCache;
|
||||
use App\Constants\Common\OssObjectCode;
|
||||
use App\Constants\RedisCode;
|
||||
use App\Exception\ErrException;
|
||||
use App\Lib\AdminReturn;
|
||||
use App\Lib\Log;
|
||||
@@ -308,7 +309,7 @@ class OssCallbackService
|
||||
private function deleteOssObject(): void
|
||||
{
|
||||
//删除旧的文件
|
||||
$this->redisCache->lPush(CommonRedisKey::getDeleteOssImgListByUrl(), $this->data['object'],'system');
|
||||
$this->redisCache->lPush(CommonRedisKey::getDeleteOssImgListByUrl(), $this->data['object'],RedisCode::SYSTEM_DB);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user