A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update tag info add reserved
aichy1262abec7848226
diff --git a/internal/schema/search_schema.go b/internal/schema/search_schema.goindex 143a93c1..35fcd76f 100644--- a/internal/schema/search_schema.go+++ b/internal/schema/search_schema.go@@ -30,6 +30,7 @@ type TagResp struct {// if main tag slug name is not empty, this tag is synonymous with the main tagMainTagSlugName string `json:"main_tag_slug_name"`Recommend bool `json:"recommend"`+ Reserved bool `json:"reserved"`}type SearchResp struct {diff --git a/internal/service/tag_common/tag_common.go b/internal/service/tag_common/tag_common.goindex bb65c5c1..31d66871 100644--- a/internal/service/tag_common/tag_common.go+++ b/internal/service/tag_common/tag_common.go@@ -181,6 +181,7 @@ func (ts *TagCommonService) GetObjectTag(ctx context.Context, objectId string) (DisplayName: tagInfo.DisplayName,MainTagSlugName: tagInfo.MainTagSlugName,Recommend: tagInfo.Recommend,+ Reserved: tagInfo.Reserved,})}return objTags, nil