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是页码 +
+
+
+