package md var AppletPlatform = []SelectData{ {Name: "微信小程序", Value: "wx_applet"}, } var AppletPlatformMap = map[string]string{ "wx_applet": "微信小程序", } type SelectData struct { Name string `json:"name" example:"名称"` Value string `json:"value" example:"值"` } type CommDetailReq struct { Id string `json:"id" example:"列表id"` }