From 5266b0b6faf282c7c7996952897b9b0742e74f56 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 21 Nov 2022 13:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E5=8B=9F=E5=85=85=E5=80=BC=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pay/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pay/module.go b/modules/pay/module.go index c4ea0841a..82b5c71e8 100644 --- a/modules/pay/module.go +++ b/modules/pay/module.go @@ -62,7 +62,7 @@ func (this *Pay) OnInstallComp() { //RPC----------------------------------------------------------------------------------------------------------------------- func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDeliveryReq, reply *pb.PayDeliveryResp) (err error) { - this.Debug("Rpc_ModulePayDelivery", log.Fields{ "args": args.String()}) + this.Debug("Rpc_ModulePayDelivery", log.Fields{"args": args.String()}) var ( conf *cfg.GameRechargeData info *pb.DBUserPay @@ -131,6 +131,6 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery return } } - + this.ModuleHero.RechargeMoney(session.GetUserId(), conf.Amount) return }