将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,26 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\controller;
|
||||
|
||||
// 引用控制器类
|
||||
use app\BaseController;
|
||||
|
||||
class BaseError extends BaseController
|
||||
{
|
||||
/**
|
||||
* 显示资源列表
|
||||
*
|
||||
* @return \think\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
// 跳转页面
|
||||
$this->error('不好意思,您访问的页面不存在~');
|
||||
}
|
||||
|
||||
public function _empty()
|
||||
{
|
||||
$this->error('不好意思,您访问的页面不存在~');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user