From bd7222118a69bb5de4c0d7719e16849658dea9f6 Mon Sep 17 00:00:00 2001 From: CalciumIon <1808837298@qq.com> Date: Fri, 5 Jul 2024 20:57:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AE=B0=E5=BD=95=E5=85=91=E6=8D=A2?= =?UTF-8?q?=E6=97=B6=E5=85=91=E6=8D=A2=E7=A0=81=E7=9A=84ID=20(close=20#286?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/redemption.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/redemption.go b/model/redemption.go index 00ec76b..0906915 100644 --- a/model/redemption.go +++ b/model/redemption.go @@ -78,7 +78,7 @@ func Redeem(key string, userId int) (quota int, err error) { if err != nil { return 0, errors.New("兑换失败," + err.Error()) } - RecordLog(userId, LogTypeTopup, fmt.Sprintf("通过兑换码充值 %s", common.LogQuota(redemption.Quota))) + RecordLog(userId, LogTypeTopup, fmt.Sprintf("通过兑换码充值 %s,兑换码ID %d", common.LogQuota(redemption.Quota), redemption.Id)) return redemption.Quota, nil }