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 }