From de3277c085e45dac1bde1b094fcd6c60110ca231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E5=9B=BD=E5=81=A5?= Date: Sat, 7 Dec 2024 21:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E5=8F=91?= =?UTF-8?q?=E9=80=81=E7=BB=93=E6=9E=84=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- order.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/order.go b/order.go index 04cfccc..96320c6 100644 --- a/order.go +++ b/order.go @@ -13,7 +13,8 @@ type OrderPay struct { } type OrderSent struct { - ID uint `json:"id"` // 订单ID + ID uint `json:"id"` // 订单ID + ProductID uint `json:"product_id"` // 商品ID } type OrderCloseRefund struct {