feat: 初始化进销存数据开放平台项目
初始化完整的前后端项目结构,包含ThinkPHP后端API服务和Next.js前端管理系统,添加基础配置、中间件、模型、路由等核心代码,以及项目文档和静态资源。
This commit is contained in:
12
thinkphp/config/middleware.php
Normal file
12
thinkphp/config/middleware.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// 中间件配置
|
||||
return [
|
||||
// 别名或分组
|
||||
'alias' => [
|
||||
'auth' => \app\middleware\Auth::class,
|
||||
'ratelimit' => \app\middleware\RateLimit::class,
|
||||
'adminauth' => \app\middleware\AdminAuth::class,
|
||||
],
|
||||
// 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
|
||||
'priority' => [],
|
||||
];
|
||||
Reference in New Issue
Block a user