新增分享码功能
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user