上传好友助战埋点
This commit is contained in:
parent
51ffe78927
commit
0220678a3d
@ -147,6 +147,9 @@ func (this *Battle) CreatePveBattle(session comm.IUserSession, req *pb.BattlePVE
|
||||
if record, code = this.modelBattle.createpve(session, conn, pb.BattleType_pve, req); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
if req.Format.Friendformat != nil {
|
||||
go this.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype12, 1))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@ -257,6 +260,9 @@ func (this *Battle) CreateLPVEBattle(session comm.IUserSession, req *pb.BattleLP
|
||||
if record, code = this.modelBattle.createlpve(session, conn, pb.BattleType_lpev, req); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
if req.Format.Friendformat != nil {
|
||||
go this.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype12, 1))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user