作者 刘锟

项目升级

@@ -113,7 +113,7 @@ class ProjectUpdate extends Command @@ -113,7 +113,7 @@ class ProjectUpdate extends Command
113 113
114 foreach ($items as $item) { 114 foreach ($items as $item) {
115 115
116 - $product = $model->read(['title' => $item], 'id'); 116 + $product = $model->read(['title' => $item['ttile']], 'id');
117 if (!$product) { 117 if (!$product) {
118 $gallery = []; 118 $gallery = [];
119 foreach ($item['images'] as $k_img => $img) { 119 foreach ($item['images'] as $k_img => $img) {