fix: Fixed missing redirect after installing runtime environment

This commit is contained in:
zhengkunwang223 2025-12-08 12:09:13 +08:00
parent d2b030e698
commit 4940095d04
2 changed files with 2 additions and 0 deletions

View file

@ -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 {

View file

@ -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)