修改数据迁移
This commit is contained in:
1 parent
3dbd14b13c
commit
8c7b8cf903
2 files changed
+14
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,19 @@
|
||||
</div>
|
||||
{/block}
|
||||
{block name="table"}
|
||||
<div class="layui-col-md12">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-body ">
|
||||
<blockquote class="layui-elem-quote layui-quote-nm">
|
||||
Kaohao、Stuent、Teacher三个表的数据需要分页迁移,否则会卡死。
|
||||
<br>
|
||||
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是页码
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="layui-table">
|
||||
<colgroup>
|
||||
<col>
|
||||
|
||||
Reference in new issue
Block a user