Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
27
addons/shopro/facade/Base.php
普通文件
27
addons/shopro/facade/Base.php
普通文件
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace addons\shopro\facade;
|
||||
|
||||
/**
|
||||
* @see RedisManager
|
||||
*
|
||||
*/
|
||||
class Base
|
||||
{
|
||||
|
||||
public static function getFacadeClass()
|
||||
{
|
||||
error_stop('facade 初始化失败');
|
||||
}
|
||||
|
||||
public static function instance()
|
||||
{
|
||||
return static::getFacadeClass();
|
||||
}
|
||||
|
||||
public static function __callStatic($funcname, $arguments)
|
||||
{
|
||||
return static::instance()->{$funcname}(...$arguments);
|
||||
}
|
||||
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户