diff --git a/agent/app/dto/response/app.go b/agent/app/dto/response/app.go index b848d110ecb1..ab6498dc3a46 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 194167d02fbd..e4d4fbf1b590 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)