mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
feat(uniapp): 集成 Pinia 状态管理并实现用户认证流程
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
// !当前文件的内容应当与 /extend/base/admin/middleware.php 的内容一致,然后再根据实际情况设置
|
||||
|
||||
// 全局中间件定义文件
|
||||
|
||||
use think\middleware\AllowCrossDomain;
|
||||
|
||||
return [
|
||||
|
||||
// Session初始化
|
||||
@@ -14,4 +17,6 @@ return [
|
||||
// Csrf安全校验
|
||||
\app\admin\middleware\CsrfMiddleware::class,
|
||||
|
||||
AllowCrossDomain::class,
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user