diff --git a/niucloud/app/service/core/niucloud/CoreCloudBuildService.php b/niucloud/app/service/core/niucloud/CoreCloudBuildService.php index 843faa081..e5b93f5ef 100644 --- a/niucloud/app/service/core/niucloud/CoreCloudBuildService.php +++ b/niucloud/app/service/core/niucloud/CoreCloudBuildService.php @@ -306,6 +306,7 @@ class CoreCloudBuildService extends BaseCoreService 'authorize_code' => $this->auth_code, 'timestamp' => $this->build_task['timestamp'] ]; + if (isset($this->build_task['version'])) $query['version'] = $this->build_task['version']; $chunk_size = 1 * 1024 * 1024; $temp_dir = runtime_path() . 'backup' . DIRECTORY_SEPARATOR . 'cloud_build' . DIRECTORY_SEPARATOR . $this->build_task['task_key'] . DIRECTORY_SEPARATOR;