168 埋点

This commit is contained in:
meixiongfeng 2024-02-06 20:33:52 +08:00
parent 092487d6d7
commit 5ffc8580cb
5 changed files with 12 additions and 7 deletions

View File

@ -5657,6 +5657,7 @@
},
"value": 1,
"filter": [
1,
1
],
"filter2": []

View File

@ -1012,6 +1012,7 @@
"id": 168,
"insert": 1,
"filter": [
"eq",
"eq"
]
},

View File

@ -2,12 +2,8 @@
{
"skillgroup": 101,
"skillid": [
185001004,
185001007,
185001010,
185001020,
185001018,
185001022
185001001,
185001004
]
},
{

View File

@ -30,6 +30,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
award []*cfg.Gameatn
changExp map[string]int32
costTime int32 // 耗时
tasks []*pb.BuriedParam
)
changExp = make(map[string]int32, 0)
mapData = make(map[string]interface{}, 0)
@ -195,6 +196,10 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
Reward: atno,
Heroexp: changExp,
})
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype168, 1, conf.Tab, conf.LayerNum))
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.ModuleBuried.TriggerBuried(session, tasks...)
})
return
}

View File

@ -38,7 +38,9 @@ func (this *ModelRank) Init(service core.IService, module core.IModule, comp cor
}
func (this *ModelRank) getcrossPagodaRankList(uid string) *pb.DBPagodaRecord {
record := &pb.DBPagodaRecord{}
record := &pb.DBPagodaRecord{
Data: make(map[int32]*pb.PagodaRecordData),
}
if db.IsCross() {
if err := this.Get(uid, record); err == mgo.MongodbNil {
result := &pb.DBPagodaRecord{