Files
hyperf_service/app/Cache/Redis/Common/CommonRedisKey.php
2024-10-31 17:57:49 +08:00

33 lines
653 B
PHP

<?php
namespace App\Cache\Redis\Common;
class CommonRedisKey
{
/**
* @var $type
* @return string
*/
public static function getSystemRegionList($type = 'all')
{
return '__system:address:list:'.$type;
}
/**
* 待删除oss文件队列-根据url
* @return string
*/
public static function getDeleteOssImgListByUrl(): string
{
return '__system:deleteOssImgList:url';
}
/**
* 待删除oss文件队列-根据id
* @return string
*/
public static function getDeleteOssImgListByOssId(): string
{
return '__system:deleteOssImgList:oss_id';
}
}