将thinkpp5.1升级到thinkphp6.0
This commit is contained in:
1 parent
338ce8261c
commit
6eb9b489d9
354 files changed
+83184
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace app\login\controller;
|
||||
|
||||
// 引用控制器类
|
||||
use think\Controller;
|
||||
|
||||
class Error extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
// 跳转页面
|
||||
$this->error('不好意思,您访问的页面不存在~');
|
||||
}
|
||||
|
||||
public function _empty()
|
||||
{
|
||||
$this->error('不好意思,您访问的页面不存在~');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user