初始提交:卡密授权管理系统
This commit is contained in:
commit
59586775c4
202 files changed
+25427
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace App\Core;
|
||||
|
||||
/**
|
||||
* 中间件基类
|
||||
*/
|
||||
abstract class Middleware
|
||||
{
|
||||
/**
|
||||
* 处理请求
|
||||
* @param array $request 请求上下文
|
||||
* @param callable $next 下一个处理器
|
||||
* @return mixed
|
||||
*/
|
||||
abstract public function handle(array $request, callable $next): mixed;
|
||||
}
|
||||
Reference in new issue
Block a user