|
...
|
...
|
@@ -272,6 +272,7 @@ class ProjectUpdate extends Command |
|
|
|
'description' => $item['description'] ?? ''
|
|
|
|
]),
|
|
|
|
'status' => Product::STATUS_ON,
|
|
|
|
'is_upgrade' => 1,
|
|
|
|
'route' => $route
|
|
|
|
]);
|
|
|
|
$this->set_map($route, RouteMap::SOURCE_PRODUCT, $id, $project_id);
|
|
...
|
...
|
@@ -334,6 +335,7 @@ class ProjectUpdate extends Command |
|
|
|
'text' => $item['content'] ?? '',
|
|
|
|
'image' => $image,
|
|
|
|
'status' => $api_type == 'news' ? News::STATUS_ONE : Blog::STATUS_ONE,
|
|
|
|
'is_upgrade' => 1,
|
|
|
|
'url' => $route
|
|
|
|
]);
|
|
|
|
$this->set_map($route, $api_type == 'news' ? RouteMap::SOURCE_NEWS : RouteMap::SOURCE_BLOG, $id, $project_id);
|
|
...
|
...
|
@@ -382,6 +384,7 @@ class ProjectUpdate extends Command |
|
|
|
'description' => $item['description'] ?? '',
|
|
|
|
'html' => $item['content'] ?? '',
|
|
|
|
'status' => 1,
|
|
|
|
'is_upgrade' => 1,
|
|
|
|
'url' => $route
|
|
|
|
]);
|
|
|
|
$this->set_map($route, RouteMap::SOURCE_PAGE, $id, $project_id);
|
...
|
...
|
|