From e1105152552b1397e393747d143982454d99972c Mon Sep 17 00:00:00 2001 From: jiangyong Date: Sun, 16 Mar 2025 21:53:00 +0800 Subject: [PATCH] alipayuidlog --- server/service/pay.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/service/pay.go b/server/service/pay.go index 0880190..5d998bf 100644 --- a/server/service/pay.go +++ b/server/service/pay.go @@ -49,10 +49,12 @@ func (p *Pay) AlipayAuth(sess *session.AdminSession, authCode, state string) (st session.CheckDBError(err) session.CheckNilError(staffUser) payee := staffUser.GetPayee() + oldUid := payee.AlipayUid payee.AlipayUid = res.UserId staffUser.Payee = goutil.EncodeJSON(payee) err = dao.NewStaffUserDao().Update(staffUser) session.CheckDBError(err) + log.Errorf("staffuser[%d] alipayUid[%s]->alipayUid[%s]", staffUser.Id, oldUid, res.UserId) return res.UserId, staffUser }