批量上传学生增加学号,增加数据验证

This commit is contained in:
东宝书记 committed 2021-06-13 16:58:44 +08:00
1 parent 14988623e0
commit 968cc6c7b6
10 files changed
+112 -40

No files matched your search

+3 -1
View File
@@ -128,12 +128,14 @@ class Index extends BaseController
// 错误页面
public function myerror()
public function myerror($msg = "")
{
// 获取系统名称和版本号
$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', 'Index/myerror', 'get'); //错误页
Route::rule('err/<msg>', '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>页面或者数据被<a href=""> 纸飞机 </a>运到火星了,啥都看不到了…</p>
<p>{$list.msg}</p>
</div>
</div>
</div>
Loaded 3 of 10 files, more files were not shown because too many files have changed in this diff. Show more