mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-03 03:39:51 +08:00
dev -> tp5
This commit is contained in:
30
application/index/controller/Error.php
Executable file
30
application/index/controller/Error.php
Executable file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace app\index\controller;
|
||||
|
||||
use think\Request;
|
||||
|
||||
/**
|
||||
* 空控制器响应
|
||||
* @author Devil
|
||||
* @blog http://gong.gg/
|
||||
* @version 1.0.0
|
||||
* @date 2018-11-30
|
||||
* @desc description
|
||||
*/
|
||||
class Error extends Common
|
||||
{
|
||||
/**
|
||||
* 空控制器响应
|
||||
* @author Devil
|
||||
* @blog http://gong.gg/
|
||||
* @version 1.0.0
|
||||
* @date 2018-11-30
|
||||
* @desc description
|
||||
* @param Request $request [参数]
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
exit($request->controller().' 控制器不存在');
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user