招募充值系统对接
This commit is contained in:
parent
eb6e5b751b
commit
5266b0b6fa
@ -62,7 +62,7 @@ func (this *Pay) OnInstallComp() {
|
|||||||
|
|
||||||
//RPC-----------------------------------------------------------------------------------------------------------------------
|
//RPC-----------------------------------------------------------------------------------------------------------------------
|
||||||
func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDeliveryReq, reply *pb.PayDeliveryResp) (err error) {
|
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 (
|
var (
|
||||||
conf *cfg.GameRechargeData
|
conf *cfg.GameRechargeData
|
||||||
info *pb.DBUserPay
|
info *pb.DBUserPay
|
||||||
@ -131,6 +131,6 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.ModuleHero.RechargeMoney(session.GetUserId(), conf.Amount)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user