From c14c24cad0f8ec362cacc1368c115bb5b4de9744 Mon Sep 17 00:00:00 2001 From: dsmzx <dsmzx@123.com> Date: 星期五, 14 六月 2024 21:13:33 +0800 Subject: [PATCH] 属性信息(增删改查)操作 --- controllers/attribute_value.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/attribute_value.go b/controllers/attribute_value.go index 7e5cdf7..736b1d5 100644 --- a/controllers/attribute_value.go +++ b/controllers/attribute_value.go @@ -18,7 +18,7 @@ // @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) { @@ -55,7 +55,7 @@ // @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) { @@ -95,7 +95,7 @@ // 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) { -- Gitblit v1.8.0