添加中间件
This commit is contained in:
1 parent
e70b4b120b
commit
6e1f870e21
5 files changed
+57
-18
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace app\error\controller;
|
||||
|
||||
use think\Controller;
|
||||
use think\Request;
|
||||
|
||||
class Index extends Controller
|
||||
{
|
||||
/**
|
||||
* 显示资源列表
|
||||
*
|
||||
* @return \think\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
//
|
||||
dump('空方法转到这里');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user