修改表格上传教师错误。

This commit is contained in:
巴掌 committed 2021-01-15 20:39:04 +08:00
1 parent dbf63e3c5c
commit dd9af7f47f
2 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -410,7 +410,7 @@ class Index extends AdminBase
], 'POST');
// 实例化操作表格类
$teacherinfo = \app\facade\File::readXls(public_path() . 'uploads\\' . $list['url']);
$teacherinfo = \app\facade\File::readXls(public_path() . 'uploads/' . $list['url']);
// 判断表格是否正确
if("教师基本情况表" != $teacherinfo[0][0] || '姓名*' != $teacherinfo[2][1] || '性别*' != $teacherinfo[2][2])