mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-24 02:13:59 +08:00
modified 添加中间件处理
This commit is contained in:
parent
1485032422
commit
102362e84a
10
application/http/middleware/AdminAuth.php
Normal file
10
application/http/middleware/AdminAuth.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class AdminAuth
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/AdminLog.php
Normal file
10
application/http/middleware/AdminLog.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class AdminLog
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/AdminPermission.php
Normal file
10
application/http/middleware/AdminPermission.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class AdminPermission
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/AdminResponse.php
Normal file
10
application/http/middleware/AdminResponse.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class AdminResponse
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/ApiAuth.php
Normal file
10
application/http/middleware/ApiAuth.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class ApiAuth
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/ApiLog.php
Normal file
10
application/http/middleware/ApiLog.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class ApiLog
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/ApiPermission.php
Normal file
10
application/http/middleware/ApiPermission.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class ApiPermission
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
10
application/http/middleware/ApiResponse.php
Normal file
10
application/http/middleware/ApiResponse.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\http\middleware;
|
||||||
|
|
||||||
|
class ApiResponse
|
||||||
|
{
|
||||||
|
public function handle($request, \Closure $next)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user