From c691a05ef858d81b767de934cb246f8943519835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 22 Apr 2020 14:41:31 +0800 Subject: [PATCH] 0 --- app/Update/controller/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Update/controller/Admin.php b/app/Update/controller/Admin.php index 1b390528..ecc614da 100644 --- a/app/Update/controller/Admin.php +++ b/app/Update/controller/Admin.php @@ -361,7 +361,7 @@ class Admin foreach ($oldId as $key => $value) { $oldList = $value->getData(); $oldList['lxdanwei_id'] = $oldList['lxdanweiid']; - $oldList['category_id'] = $oldList['category']; + $oldList['category_id'] = getNewCategory($oldList['category']); $newList = $new->create($oldList); if ($newList) { $i ++;