战斗友好助战系统补充

This commit is contained in:
liwei1dao 2022-10-20 18:10:37 +08:00
parent a07752a4e3
commit f7679c2ab5

View File

@ -94,9 +94,9 @@ func (this *modelBattleComp) createpve(session comm.IUserSession, conn *db.DBCon
hero = &pb.DBHero{} hero = &pb.DBHero{}
if err = this.module.service.AcrossClusterRpcCall( if err = this.module.service.AcrossClusterRpcCall(
context.Background(), context.Background(),
session.GetServiecTag(), this.module.GetCrossTag(),
comm.Service_Worker, comm.Service_Worker,
string(comm.Rpc_ModuleGMCreateCmd), string(comm.Rpc_ModuleFriendUseAssitHero),
pb.RPCGeneralReqA2{Param1: session.GetUserId(), Param2: v}, pb.RPCGeneralReqA2{Param1: session.GetUserId(), Param2: v},
hero); err != nil { hero); err != nil {
this.module.Errorln(err) this.module.Errorln(err)