From 8f6249625046bba44ee9335289ab5b322503ebac Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 28 Mar 2026 10:36:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(fin):=20=E8=A1=A5=E5=85=A8=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E5=AE=A1=E6=89=B9=E4=BA=BA=E5=AD=97=E6=AE=B5=20FIN-01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Approve updates map 补充 approved_by 和 approved_at 字段,确保审批人信息正确填充 --- internal/service/commission_withdrawal/service.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/service/commission_withdrawal/service.go b/internal/service/commission_withdrawal/service.go index c76e493..f3f186c 100644 --- a/internal/service/commission_withdrawal/service.go +++ b/internal/service/commission_withdrawal/service.go @@ -206,6 +206,8 @@ func (s *Service) Approve(ctx context.Context, id uint, req *dto.ApproveWithdraw "processed_at": now, "payment_type": req.PaymentType, "remark": req.Remark, + "approved_by": currentUserID, + "approved_at": now, } if req.Amount != nil {