From 901f1dc4dae81534660a204f1af1eec2a37bf0a6 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Thu, 27 Mar 2025 17:53:16 +0800 Subject: [PATCH] pay2 --- server/service/staff_user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/service/staff_user.go b/server/service/staff_user.go index dbbbf6a..10d2995 100644 --- a/server/service/staff_user.go +++ b/server/service/staff_user.go @@ -201,6 +201,8 @@ func (s *StaffUser) Pay(sess *session.AdminSession, req *api.StaffPayReq) { user, err := dao.NewStaffUserDao().Get(cast.ToInt64(req.StaffId)) session.CheckDBError(err) session.CheckNilError(user, "用户不存在") + log.Errorf("pay user[%s] amount[%s]", user.Username, goutil.FormatMoney(cast.ToInt64(req.Amount))) + return NewPay().Pay(corp, user, req.Title, req.PayType, cast.ToInt64(req.Amount)) }