From ec37af2f1867c143f171db97b68b82fc73d5d83b Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 8 Dec 2025 12:44:36 +0800 Subject: [PATCH] fix: Fixed missing redirect after installing runtime environment (#11243) --- agent/app/dto/response/app.go | 1 + agent/app/service/app.go | 1 + 2 files changed, 2 insertions(+) diff --git a/agent/app/dto/response/app.go b/agent/app/dto/response/app.go index b848d110e..ab6498dc3 100644 --- a/agent/app/dto/response/app.go +++ b/agent/app/dto/response/app.go @@ -39,6 +39,7 @@ type AppItem struct { Tags []string `json:"tags"` GpuSupport bool `json:"gpuSupport"` Recommend int `json:"recommend"` + Type string `json:"type"` } type TagDTO struct { diff --git a/agent/app/service/app.go b/agent/app/service/app.go index 194167d02..e4d4fbf1b 100644 --- a/agent/app/service/app.go +++ b/agent/app/service/app.go @@ -125,6 +125,7 @@ func (a AppService) PageApp(ctx *gin.Context, req request.AppSearch) (*response. GpuSupport: ap.GpuSupport, Recommend: ap.Recommend, Description: ap.GetDescription(ctx), + Type: ap.Type, } appDTOs = append(appDTOs, appDTO) tags, err := getAppTags(ap.ID, lang)