招募充值系统对接

This commit is contained in:
liwei1dao 2022-11-21 13:56:30 +08:00
parent eb6e5b751b
commit 5266b0b6fa

View File

@ -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
}