| | |
| | | // @Tags 属性值和对象 |
| | | // @Summary 添加属性值和对象 |
| | | // @Produce application/json |
| | | // @Param object body request.AttributeValue true "属性值和对象信息" |
| | | // @Param object body request.AddAttributeValue true "属性值和对象信息" |
| | | // @Success 200 {object} util.Response "成功" |
| | | // @Router /api-wms/v1/attributeValue/add [post] |
| | | func (slf *AttributeValueController) AddAttributeValue(c *gin.Context) { |
| | |
| | | // @Tags 属性值和对象 |
| | | // @Summary 更新属性值和对象 |
| | | // @Produce application/json |
| | | // @Param object body request.AttributeValue true "属性值和对象信息" |
| | | // @Param object body request.UpdateAttributeValue true "属性值和对象信息" |
| | | // @Success 200 {object} util.Response "成功" |
| | | // @Router /api-wms/v1/attributeValue/update [post] |
| | | func (slf *AttributeValueController) UpdateAttributeValue(c *gin.Context) { |
| | |
| | | // DeleteAttributeValue |
| | | // @Tags 属性值和对象 |
| | | // @Summary 删除属性值和对象 |
| | | // @Param id path unit true "id" |
| | | // @Param id path string true "id" |
| | | // @Success 200 {object} util.Response "成功" |
| | | // @Router /api-wms/v1/attributeValue/delete/{id} [delete] |
| | | func (slf *AttributeValueController) DeleteAttributeValue(c *gin.Context) { |