Browse Source

refactor(backend): 更新中间件引用

- 将 SixShop\Core\Middleware\MacroPageMiddleware 引用改为 SixShop\System\Middleware\MacroPageMiddleware
- 移除了未使用的 Json 引用
-调整了部分命名空间的加载顺序,提高代码可读性
runphp 7 tháng trước cách đây
mục cha
commit
959daeda28
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Controller/FileController.php

+ 1 - 1
src/Controller/FileController.php

@@ -4,8 +4,8 @@ declare(strict_types=1);
 namespace SixShop\Filesystem\Controller;
 
 use SixShop\Core\Helper;
-use SixShop\Core\Middleware\MacroPageMiddleware;
 use SixShop\Filesystem\Entity\FilesystemFileEntity;
+use SixShop\System\Middleware\MacroPageMiddleware;
 use think\facade\Event;
 use think\Request;
 use think\Response;