mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-24 02:13:59 +08:00
modified 修复后端的空方法响应
This commit is contained in:
parent
6eb7f963bc
commit
177b2c91f1
@ -11,16 +11,15 @@ namespace app\admin\controller;
|
|||||||
class PublicShow extends Base {
|
class PublicShow extends Base {
|
||||||
|
|
||||||
public function show_404(){
|
public function show_404(){
|
||||||
$this->assign('title', '页面丢失了!');
|
if( !$this->request->isAjax() ){
|
||||||
return $this->fetch('public/404');
|
$this->assign('title', '页面丢失了!');
|
||||||
|
return $this->fetch('public/404');
|
||||||
|
}else{
|
||||||
|
$this->error('页面不存在!');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function show_500(){
|
public function show_500(){
|
||||||
return $this->fetch('public/500');
|
return $this->fetch('public/500');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function showBreadcrumb(){
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -50,7 +50,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<caption><h4>数据库依赖检测</h4></caption>
|
<caption><h4>数据库依赖检查</h4></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>名称</th>
|
<th>名称</th>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{if condition="isset($checkCache)"}
|
{if condition="isset($checkCache)"}
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<caption><h4>缓存依赖检测</h4></caption>
|
<caption><h4>缓存依赖检查</h4></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>名称</th>
|
<th>名称</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user