| | |
| | | util.ResponseFormat(c, code.RequestParamError, "参数解析失败,数据类型错误:"+err.Error()) |
| | | return |
| | | } |
| | | if params.Check() { |
| | | if !params.Check() { |
| | | util.ResponseFormat(c, code.RequestParamError, "参数异常") |
| | | return |
| | | } |
| | |
| | | // @Tags 上架规则 |
| | | // @Summary 修改上架规则 |
| | | // @Produce application/json |
| | | // @Param object body request.UpdateLocationProduct true "入库信息" |
| | | // @Param object body request.UpdateLocationProduct true "修改参数" |
| | | // @Success 200 {object} util.Response "成功" |
| | | // @Router /api-wms/v1/locationProduct/update [post] |
| | | func (slf LocationProductController) Update(c *gin.Context) { |