diff --git a/agent/app/service/runtime_utils.go b/agent/app/service/runtime_utils.go index dd2dbb5e6..8e87adbd5 100644 --- a/agent/app/service/runtime_utils.go +++ b/agent/app/service/runtime_utils.go @@ -102,6 +102,13 @@ func handlePHP(create request.RuntimeCreate, runtime *model.Runtime, fileOp file runtime.Params = string(forms) runtime.Status = constant.StatusBuilding + go func() { + appDetail, err := appDetailRepo.GetFirst(repo.WithByID(runtime.AppDetailID)) + if err == nil { + RequestDownloadCallBack(appDetail.DownloadCallBackUrl) + } + }() + go buildRuntime(runtime, "", "", false) return }