package response import "sundynix-go/model/plant" // BadgeDimensionNode 1. 最外层:维度节点 (例如: "专家成就") type BadgeDimensionNode struct { Dimension string `json:"dimension"` // 维度 Key (e.g., "EXPERTISE") Label string `json:"label"` // 维度显示名 (前端映射或后端返回) Groups []BadgeGroupNode `json:"groups"` // 该维度下的徽章组 } // BadgeGroupNode 2. 中间层:组节点 (例如: "炼金术士系列") type BadgeGroupNode struct { GroupId string `json:"groupId"` // 组 ID (e.g., "fertilizer_master") GroupLabel string `json:"groupLabel"` // 中文显示名 (新增) Badges []plant.BadgeConfig `json:"badges"` // 该组下的具体徽章 (铜/银/金) }