|
@@ -175,7 +175,7 @@ class FetchTicketProjects extends Command |
|
@@ -175,7 +175,7 @@ class FetchTicketProjects extends Command |
|
175
|
'is_del' => $is_del,
|
175
|
'is_del' => $is_del,
|
|
176
|
'website' => !empty($item->domainInfo->domain) ? 'https://'.$item->domainInfo->domain : '',
|
176
|
'website' => !empty($item->domainInfo->domain) ? 'https://'.$item->domainInfo->domain : '',
|
|
177
|
'test_website' => $item->deploy_build->test_domain ?? '',
|
177
|
'test_website' => $item->deploy_build->test_domain ?? '',
|
|
178
|
- 'version' => $item->version,
|
178
|
+ 'version' => empty($item->version) ? 7 : $item->version, // 版本号
|
|
179
|
'plan' => $item->planMap()[$item->deploy_build->plan] ?? '',
|
179
|
'plan' => $item->planMap()[$item->deploy_build->plan] ?? '',
|
|
180
|
];
|
180
|
];
|
|
181
|
if (!$project) {
|
181
|
if (!$project) {
|