mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
优化特殊页面显示方案
This commit is contained in:
parent
ecb66d3675
commit
73b5247935
@ -3,6 +3,6 @@ namespace app\admin\controller;
|
||||
|
||||
class Index extends Base {
|
||||
public function index() {
|
||||
return $this->fetch();
|
||||
return (new PublicShow())->show_404();
|
||||
}
|
||||
}
|
||||
|
@ -11,11 +11,11 @@ namespace app\admin\controller;
|
||||
class PublicShow extends Base {
|
||||
|
||||
public function show_404(){
|
||||
$this->fetch('public/404');
|
||||
return $this->fetch('public/404');
|
||||
}
|
||||
|
||||
public function show_500(){
|
||||
$this->fetch('public/500');
|
||||
return $this->fetch('public/500');
|
||||
}
|
||||
|
||||
public function showBreadcrumb(){
|
||||
|
@ -0,0 +1 @@
|
||||
123123
|
Loading…
x
Reference in New Issue
Block a user