168 埋点
This commit is contained in:
parent
092487d6d7
commit
5ffc8580cb
@ -5657,6 +5657,7 @@
|
|||||||
},
|
},
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
|
1,
|
||||||
1
|
1
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
|
@ -1012,6 +1012,7 @@
|
|||||||
"id": 168,
|
"id": 168,
|
||||||
"insert": 1,
|
"insert": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
|
"eq",
|
||||||
"eq"
|
"eq"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -2,12 +2,8 @@
|
|||||||
{
|
{
|
||||||
"skillgroup": 101,
|
"skillgroup": 101,
|
||||||
"skillid": [
|
"skillid": [
|
||||||
185001004,
|
185001001,
|
||||||
185001007,
|
185001004
|
||||||
185001010,
|
|
||||||
185001020,
|
|
||||||
185001018,
|
|
||||||
185001022
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -30,6 +30,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
|
|||||||
award []*cfg.Gameatn
|
award []*cfg.Gameatn
|
||||||
changExp map[string]int32
|
changExp map[string]int32
|
||||||
costTime int32 // 耗时
|
costTime int32 // 耗时
|
||||||
|
tasks []*pb.BuriedParam
|
||||||
)
|
)
|
||||||
changExp = make(map[string]int32, 0)
|
changExp = make(map[string]int32, 0)
|
||||||
mapData = make(map[string]interface{}, 0)
|
mapData = make(map[string]interface{}, 0)
|
||||||
@ -195,6 +196,10 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
|
|||||||
Reward: atno,
|
Reward: atno,
|
||||||
Heroexp: changExp,
|
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
|
return
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,9 @@ func (this *ModelRank) Init(service core.IService, module core.IModule, comp cor
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelRank) getcrossPagodaRankList(uid string) *pb.DBPagodaRecord {
|
func (this *ModelRank) getcrossPagodaRankList(uid string) *pb.DBPagodaRecord {
|
||||||
record := &pb.DBPagodaRecord{}
|
record := &pb.DBPagodaRecord{
|
||||||
|
Data: make(map[int32]*pb.PagodaRecordData),
|
||||||
|
}
|
||||||
if db.IsCross() {
|
if db.IsCross() {
|
||||||
if err := this.Get(uid, record); err == mgo.MongodbNil {
|
if err := this.Get(uid, record); err == mgo.MongodbNil {
|
||||||
result := &pb.DBPagodaRecord{
|
result := &pb.DBPagodaRecord{
|
||||||
|
Loading…
Reference in New Issue
Block a user