From 22c3521fa52fa339e7e4ece7ac089db64a9308e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Fri, 1 Apr 2022 09:12:49 +0000 Subject: [PATCH] =?UTF-8?q?update=20app/student/model/Student.php.=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0=E5=AD=A6=E7=94=9F=E4=B8=8D?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=AC=AC=E4=B8=80=E4=B8=AA=E4=BA=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/student/model/Student.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/student/model/Student.php b/app/student/model/Student.php index cb343925..46067dc5 100755 --- a/app/student/model/Student.php +++ b/app/student/model/Student.php @@ -378,7 +378,7 @@ class Student extends BaseModel // 实例验证 $validate = new \app\student\validate\Student; // 整理数据 - array_splice($stuinfo, 0, 4); # 删除标题行 + array_splice($stuinfo, 0, 3); # 删除标题行 $stuinfo = array_filter($stuinfo, function($q){ ## 过滤姓名、身份证号或班级为空的数据 return $q[1] != null && strlen($q[3]) >0 && $q[4] != null; });