新增分享码功能
This commit is contained in:
@@ -22,6 +22,17 @@ func NewModelHandler(repo *repository.ModelRepository, log *zap.Logger) *ModelHa
|
||||
}
|
||||
}
|
||||
|
||||
// GetModel 获取型号列表
|
||||
//
|
||||
// @Summary 获取型号列表
|
||||
// @Tags Model
|
||||
// @Produce json
|
||||
// @Param brandName query string false "品牌名称"
|
||||
// @Param modelName query string false "型号名称"
|
||||
// @Param base64Resp query string false "是否返回 base64 编码响应"
|
||||
// @Success 200 {array} object
|
||||
// @Failure 500 {object} object
|
||||
// @Router /audio/getModel [get]
|
||||
func (h *ModelHandler) GetModel(c *gin.Context) {
|
||||
brandName := c.Query("brandName")
|
||||
modelName := c.Query("modelName")
|
||||
|
||||
Reference in New Issue
Block a user