init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
21
addons/shopro/facade/ActivityRedis.php
Normal file
21
addons/shopro/facade/ActivityRedis.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace addons\shopro\facade;
|
||||
|
||||
use addons\shopro\library\activity\ActivityRedis as ActivityRedisManager;
|
||||
|
||||
/**
|
||||
* @see RedisManager
|
||||
*
|
||||
*/
|
||||
class ActivityRedis extends Base
|
||||
{
|
||||
public static function getFacadeClass()
|
||||
{
|
||||
if (!isset($GLOBALS['SPACTIVITYREDIS'])) {
|
||||
$GLOBALS['SPACTIVITYREDIS'] = new ActivityRedisManager();
|
||||
}
|
||||
|
||||
return $GLOBALS['SPACTIVITYREDIS'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user