修改人事表格上传错误提示

This commit is contained in:
win7 committed 2019-12-24 15:40:56 +08:00
1 parent 39084eed00
commit 2c54632708
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -426,7 +426,7 @@ class Student extends BaseController
// 判断表格是否正确
if($stuinfo[0][2] != "序号" && $stuinfo[1][2] != "姓名" && $stuinfo[2][2] != "身份证号")
{
$data = array('msg'=>'请使用模板上传','val'=>0,'url'=>null);
$this->error('请使用模板上传','/login/err');
return json($data);
}
+1 -1
View File
@@ -314,7 +314,7 @@ class Teacher extends BaseController
// 判断表格是否正确
if($teacherinfo[0][1] != "教师基本情况表" )
{
$data = array('msg'=>'请使用模板上传','val'=>0,'url'=>null);
$this->error('请使用模板上传','/login/err');
return json($data);
}