From 029c8611556aa3b77cdae78376842e8531521c9f Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期四, 20 六月 2024 22:24:01 +0800
Subject: [PATCH] 产品->动态属性增改查

---
 controllers/attribute.go |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/controllers/attribute.go b/controllers/attribute.go
index a2cc273..079fb27 100644
--- a/controllers/attribute.go
+++ b/controllers/attribute.go
@@ -144,14 +144,14 @@
 
 // ListAttribute
 // @Tags      灞炴�у�煎拰瀵硅薄
-// @Summary   鏌ヨ灞炴�у�煎拰瀵硅薄
+// @Summary   娣诲姞灞炴�у�煎拰瀵硅薄
 // @Produce   application/json
-// object  body  request.GetAttributeList true  "鏌ヨ鍙傛暟"
+// @Param     object  body  request.GetAttributeList true  "灞炴�у�煎拰瀵硅薄淇℃伅"
 // @Success   200 {object} util.Response "鎴愬姛"
 // @Router    /api-wms/v1/attribute/list [post]
 func (slf AttributeController) ListAttribute(c *gin.Context) {
-	var params request.GetAttributeList
-	if err := c.ShouldBindQuery(&params); err != nil {
+	var params request.AttributeList
+	if err := c.ShouldBind(&params); err != nil {
 		util.ResponseFormat(c, code.RequestParamError, err.Error())
 		return
 	}

--
Gitblit v1.8.0