From 8c7b8cf903004c17a1fe43e1b16f6496e0143f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Tue, 21 Apr 2020 10:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E8=BF=81?= =?UTF-8?q?=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Update/controller/Admin.php | 1 + app/Update/view/admin/index.html | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/app/Update/controller/Admin.php b/app/Update/controller/Admin.php index 49196e39..5e3d252c 100644 --- a/app/Update/controller/Admin.php +++ b/app/Update/controller/Admin.php @@ -88,6 +88,7 @@ class Admin $oldList = $value->getData(); unset($oldList['id']); $oldList['defenlv'] = $oldList['defen']; + $oldList['subject_id'] = getNewSubject($oldList['subject_id']); $newList[] = $oldList; } diff --git a/app/Update/view/admin/index.html b/app/Update/view/admin/index.html index 26e52225..ef026281 100644 --- a/app/Update/view/admin/index.html +++ b/app/Update/view/admin/index.html @@ -22,6 +22,19 @@ {/block} {block name="table"} +
+
+
+
+ Kaohao、Stuent、Teacher三个表的数据需要分页迁移,否则会卡死。 +
+ 127.0.0.1/update/admin/kaosho/1 1是页码 + 127.0.0.1/update/admin/student/1 1是页码 + 127.0.0.1/update/admin/teacher/1 1是页码 +
+
+
+