招募充值系统对接
This commit is contained in:
parent
eb6e5b751b
commit
5266b0b6fa
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user