From c461c77c61df5985cedd4ea09b525be817f73f76 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Sat, 12 Oct 2024 09:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=8D=B7=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BA=86=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/dto/UserCoupon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/dto/UserCoupon.go b/api/dto/UserCoupon.go index 0f3170f..1808c0e 100644 --- a/api/dto/UserCoupon.go +++ b/api/dto/UserCoupon.go @@ -63,7 +63,7 @@ func GetUserCouponListDto(m []*model.UserCoupon) []*UserCouponDto { // 加载用户数据 if v.User != nil { - response = response.LoadCoupon(v.Coupon) + response = response.LoadUser(v.User) } // 将转换后的结构体添加到新切片中