From 070dd9ff611f5faf35d552f7c1ae9046e62f3a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E6=A0=88=E5=B0=8F=E5=AD=A6=E7=94=9F?= <1518079521@qq.com> Date: Sat, 22 Mar 2025 14:55:22 +0800 Subject: [PATCH] Update CoreCloudBuildService.php --- niucloud/app/service/core/niucloud/CoreCloudBuildService.php | 1 + 1 file changed, 1 insertion(+) 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;