正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -125,6 +125,11 @@ class ProjectUpdate extends Command | @@ -125,6 +125,11 @@ class ProjectUpdate extends Command | ||
| 125 | 'content' => $item['content'], | 125 | 'content' => $item['content'], |
| 126 | 'thumb' => isset($gallery[0]) ? Arr::a2s($gallery[0]) : '', | 126 | 'thumb' => isset($gallery[0]) ? Arr::a2s($gallery[0]) : '', |
| 127 | 'gallery' => Arr::a2s($gallery), | 127 | 'gallery' => Arr::a2s($gallery), |
| 128 | + 'seo_mate' => Arr::a2s([ | ||
| 129 | + 'title' => '', | ||
| 130 | + 'keyword' => '', | ||
| 131 | + 'description' => '' | ||
| 132 | + ]) | ||
| 128 | ]); | 133 | ]); |
| 129 | $route = RouteMap::setRoute($item['ttile'], RouteMap::SOURCE_PRODUCT, $id, $project_id); | 134 | $route = RouteMap::setRoute($item['ttile'], RouteMap::SOURCE_PRODUCT, $id, $project_id); |
| 130 | $model->edit(['route' => $route], ['id' => $id]); | 135 | $model->edit(['route' => $route], ['id' => $id]); |
-
请 注册 或 登录 后发表评论