33 lines
653 B
PHP
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';
|
|
}
|
|
} |