合并分支 'akun' 到 'master'
Akun 查看合并请求 !105
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -272,6 +272,7 @@ class ProjectUpdate extends Command | @@ -272,6 +272,7 @@ class ProjectUpdate extends Command | ||
| 272 | 'description' => $item['description'] ?? '' | 272 | 'description' => $item['description'] ?? '' |
| 273 | ]), | 273 | ]), |
| 274 | 'status' => Product::STATUS_ON, | 274 | 'status' => Product::STATUS_ON, |
| 275 | + 'is_upgrade' => 1, | ||
| 275 | 'route' => $route | 276 | 'route' => $route |
| 276 | ]); | 277 | ]); |
| 277 | $this->set_map($route, RouteMap::SOURCE_PRODUCT, $id, $project_id); | 278 | $this->set_map($route, RouteMap::SOURCE_PRODUCT, $id, $project_id); |
| @@ -334,6 +335,7 @@ class ProjectUpdate extends Command | @@ -334,6 +335,7 @@ class ProjectUpdate extends Command | ||
| 334 | 'text' => $item['content'] ?? '', | 335 | 'text' => $item['content'] ?? '', |
| 335 | 'image' => $image, | 336 | 'image' => $image, |
| 336 | 'status' => $api_type == 'news' ? News::STATUS_ONE : Blog::STATUS_ONE, | 337 | 'status' => $api_type == 'news' ? News::STATUS_ONE : Blog::STATUS_ONE, |
| 338 | + 'is_upgrade' => 1, | ||
| 337 | 'url' => $route | 339 | 'url' => $route |
| 338 | ]); | 340 | ]); |
| 339 | $this->set_map($route, $api_type == 'news' ? RouteMap::SOURCE_NEWS : RouteMap::SOURCE_BLOG, $id, $project_id); | 341 | $this->set_map($route, $api_type == 'news' ? RouteMap::SOURCE_NEWS : RouteMap::SOURCE_BLOG, $id, $project_id); |
| @@ -382,6 +384,7 @@ class ProjectUpdate extends Command | @@ -382,6 +384,7 @@ class ProjectUpdate extends Command | ||
| 382 | 'description' => $item['description'] ?? '', | 384 | 'description' => $item['description'] ?? '', |
| 383 | 'html' => $item['content'] ?? '', | 385 | 'html' => $item['content'] ?? '', |
| 384 | 'status' => 1, | 386 | 'status' => 1, |
| 387 | + 'is_upgrade' => 1, | ||
| 385 | 'url' => $route | 388 | 'url' => $route |
| 386 | ]); | 389 | ]); |
| 387 | $this->set_map($route, RouteMap::SOURCE_PAGE, $id, $project_id); | 390 | $this->set_map($route, RouteMap::SOURCE_PAGE, $id, $project_id); |
-
请 注册 或 登录 后发表评论