feat: add DownloadCallBack for install php runtime (#9430)

This commit is contained in:
CityFun
2025-07-07 03:05:50 +00:00
committed by GitHub
parent 997b706d8a
commit 9974c5fa20
+7
View File
@@ -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
}