恢复跳转

This commit is contained in:
东宝书记 committed 2021-06-13 21:03:42 +08:00
1 parent e004aa88fa
commit 88b7130f98
5 files changed
+3 -7

No files matched your search

+1 -3
View File
@@ -128,14 +128,12 @@ class Index extends BaseController
// 错误页面
public function myerror($msg = "")
public function myerror()
{
// 获取系统名称和版本号
$list['webtitle'] = config('shangma.webtitle');
$list['version'] = config('shangma.version');
$list['msg'] = $msg;
$this->view->assign('list',$list);
// 渲染输出
+1 -1
View File
@@ -17,6 +17,6 @@ Route::group('', function () {
Route::rule('', 'Index/admin', 'post');
Route::rule('student', 'Index/student', 'post');
Route::rule('log', 'Index/shangmaLog', 'get'); # 配置更新
Route::rule('err/<msg>', 'Index/myerror', 'get'); //错误页
Route::rule('err', 'Index/myerror', 'get'); //错误页
Route::rule('weihu', 'Index/weihu', 'get'); //错误页
});
+1 -1
View File
@@ -24,7 +24,7 @@
<div class="fly-panel">
<div class="fly-none">
<h2><i class="layui-icon layui-icon-404"></i></h2>
<p>{$list.msg}</p>
<p>页面或者数据被<a href=""> 纸飞机 </a>运到火星了,啥都看不到了…</p>
</div>
</div>
</div>
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more