正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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) { |
-
请 注册 或 登录 后发表评论