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