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 ++;