创建用户表数据迁移、添加空控制器和方法的跳转
This commit is contained in:
1 parent
6e1f870e21
commit
8a16560d07
14 files changed
+173
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace app\index\controller;
|
||||
|
||||
// 引用控制器类
|
||||
use think\Controller;
|
||||
|
||||
class Error extends Controller
|
||||
{
|
||||
/**
|
||||
* 显示资源列表
|
||||
*
|
||||
* @return \think\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
// 跳转页面
|
||||
$this->redirect(url('/notfound'));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user