From 18d68aab59a0c7193594880a657a62ff8122559d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 22 Apr 2020 15:10:12 +0800 Subject: [PATCH] 0 --- app/Update/controller/Admin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Update/controller/Admin.php b/app/Update/controller/Admin.php index ecc614da..a873ddfd 100644 --- a/app/Update/controller/Admin.php +++ b/app/Update/controller/Admin.php @@ -428,6 +428,9 @@ class Admin $oldList['fzdanwei_id'] = getNewCategory($oldList['fzdanweiid']); $oldList['jddengji_id'] = getNewDengji($oldList['jddengji']); $oldList['category_id'] = getNewCategory($oldList['category']); + $oldList['subject_id'] = getNewCategory($oldList['subject']); + $oldList['lxpic'] = 'keti/lixiang/'.$oldList['lxpic']; + $oldList['jtpic'] = 'keti/jieti/'.$oldList['jtpic']; $newList = $new->create($oldList); if ($newList) { $i ++;