Ver código fonte

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

- 将 SixShop\Core\Middleware\MacroPageMiddleware 引用改为 SixShop\System\Middleware\MacroPageMiddleware
- 移除了未使用的 Json 引用
-调整了部分命名空间的加载顺序,提高代码可读性
runphp 7 meses atrás
pai
commit
959daeda28
1 arquivos alterados com 1 adições e 1 exclusões
  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;