|
|
@@ -6,7 +6,7 @@ namespace <?= $namespace ?>Controller\Admin;
|
|
|
use <?= $namespace ?>Model\<?= $modelName ?>;
|
|
|
use <?= $namespace ?>Entity\<?= $entityName ?>;
|
|
|
use SixShop\Core\Request;
|
|
|
-use SixShop\System\Middleware\MacroPageMiddleware;
|
|
|
+
|
|
|
use think\Response;
|
|
|
use think\Route;
|
|
|
use function SixShop\Core\page_response;
|
|
|
@@ -20,9 +20,6 @@ use function SixShop\Core\success_response;
|
|
|
*/
|
|
|
class <?= $controllerName ?>{
|
|
|
|
|
|
- protected array $middlewares = [
|
|
|
- MacroPageMiddleware::class
|
|
|
- ];
|
|
|
/**
|
|
|
* Display a listing of the resource
|
|
|
* GET /{resource}
|