-将 SixShop.Extension.system 替换为 SixShop\System - 修改了多个文件中的命名空间引用 - 删除了 info.php 中的 weight 字段
@@ -14,5 +14,4 @@ return [
'website' => '', # 扩展的地址,可以是扩展的仓库地址,帮助用户寻找扩展,安装扩展等网络地址
'image' => '', # 扩展的图片,用于展示扩展的图标,或者是扩展的截图等图片地址
'license' => 'MIT', # 扩展的开源协议
- 'weight' => 100, # 扩展的权重,用于控制加载先后顺序, 普通扩展请使用>=10000
];
@@ -5,8 +5,8 @@ namespace SixShop\Core\Middleware;
use Closure;
use SixShop\Core\Helper;
-use SixShop\Extension\system\Enum\ExtensionStatusEnum;
-use SixShop\Extension\system\ExtensionManager;
+use SixShop\System\Enum\ExtensionStatusEnum;
+use SixShop\System\ExtensionManager;
class ExtensionStatusMiddleware
{
@@ -4,7 +4,7 @@ declare(strict_types=1);
namespace SixShop\Core\Service;
use think\App;
class CommandService
@@ -7,8 +7,8 @@ use ReflectionClass;
use ReflectionMethod;
use SixShop\Core\Attribute\Hook;
use think\facade\Event;
@@ -5,7 +5,7 @@ namespace SixShop\Core\Service;
use SixShop\Core\Middleware\ExtensionStatusMiddleware;
use think\event\RouteLoaded;
use think\facade\Route;
@@ -3,7 +3,7 @@ declare(strict_types=1);
namespace SixShop\Core\Trait;
trait ConfigTrait