新增分享码功能

This commit is contained in:
eafonyang
2026-06-12 15:50:01 +08:00
parent 46fd35b0df
commit 8010cbd32f
24 changed files with 2610 additions and 66 deletions
+10
View File
@@ -22,6 +22,16 @@ func NewBrandHandler(repo *repository.BrandRepository, log *zap.Logger) *BrandHa
}
}
// GetBrand 获取品牌列表
//
// @Summary 获取品牌列表
// @Tags Brand
// @Produce json
// @Param brandName query string false "品牌名称(模糊匹配)"
// @Param base64Resp query string false "是否返回 base64 编码响应"
// @Success 200 {array} object
// @Failure 500 {object} object
// @Router /audio/getBrand [get]
func (h *BrandHandler) GetBrand(c *gin.Context) {
brandName := c.Query("brandName")
base64Resp := encode.ParseBase64Param(c)