Explorar o código

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

- 将 SixShop\Core\Middleware\MacroPageMiddleware 引用改为 SixShop\System\Middleware\MacroPageMiddleware
- 移除了未使用的 Json 引用
-调整了部分命名空间的加载顺序,提高代码可读性
runphp hai 7 meses
pai
achega
959daeda28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;