修改数据迁移

This commit is contained in:
巴掌 committed 2020-04-21 10:27:39 +08:00
1 parent 3dbd14b13c
commit 8c7b8cf903
2 files changed
+14

No files matched your search

+1
View File
@@ -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;
}