From 15089f71ca31c1f9f3ceabba8a42cb02dc4dd756 Mon Sep 17 00:00:00 2001 From: chenlin Date: Wed, 9 Oct 2024 14:42:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=95=86=E5=9C=BA=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E5=85=91=E6=8D=A2=E6=8E=A5=E5=8F=A3=EF=BC=8C=E5=85=A5?= =?UTF-8?q?=E5=8F=82=E6=94=B6=E8=8E=B7=E5=9C=B0=E5=9D=80=E6=94=B9=E6=88=90?= =?UTF-8?q?=E9=9D=9E=E5=BF=85=E5=A1=AB=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/mall.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/mall.go b/controller/mall.go index 67f78c8..f20bc1b 100644 --- a/controller/mall.go +++ b/controller/mall.go @@ -149,8 +149,8 @@ func MallOrderCreate(c *gin.Context) { GoodsAttributeComboId uint32 `json:"goods_attribute_combo_id" binding:"required"` // 套餐id Quantity uint32 `json:"quantity" binding:"required"` // 购买数量 //PayType uint32 `json:"pay_type" binding:"required"` // 支付方式 - AddressId uint32 `json:"address_id" binding:"required"` // 收货地址 - DeliveryExtraInfo string `json:"delivery_extra_info"` // 收货备注 + AddressId uint32 `json:"address_id"` // 收货地址 + DeliveryExtraInfo string `json:"delivery_extra_info"` // 收货备注 }{} if err := c.ShouldBindJSON(&req); err != nil { logger.Error(err)