From 8a3d1498529b90781113821f8d97a7afee5ed7b3 Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期一, 17 六月 2024 09:26:27 +0800
Subject: [PATCH] 新增/修改产品-对动态属性的支持Attributes->AttributeValues
---
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