埋点236
This commit is contained in:
parent
5066b59911
commit
1b7e6368a4
@ -905,6 +905,7 @@ const (
|
|||||||
Rtype232 TaskType = 232 // 种族塔通关x阵营x层
|
Rtype232 TaskType = 232 // 种族塔通关x阵营x层
|
||||||
Rtype234 TaskType = 234 // 完成多次捕羊大赛
|
Rtype234 TaskType = 234 // 完成多次捕羊大赛
|
||||||
Rtype235 TaskType = 235 // 指定X龙的等级达到Y级
|
Rtype235 TaskType = 235 // 指定X龙的等级达到Y级
|
||||||
|
Rtype236 TaskType = 236 // 购买X章的商店物品数量达到Y件
|
||||||
)
|
)
|
||||||
const (
|
const (
|
||||||
MailLineEasy int32 = 1 // 简单
|
MailLineEasy int32 = 1 // 简单
|
||||||
|
@ -26,6 +26,7 @@ func (this *apiComp) ShopBuy(session comm.IUserSession, req *pb.MainlineShopBuyR
|
|||||||
shopConf *cfg.GameMainShopItemData
|
shopConf *cfg.GameMainShopItemData
|
||||||
bUnlock bool
|
bUnlock bool
|
||||||
atno []*pb.UserAtno
|
atno []*pb.UserAtno
|
||||||
|
tasks []*pb.BuriedParam = make([]*pb.BuriedParam, 0)
|
||||||
)
|
)
|
||||||
bUnlock = true
|
bUnlock = true
|
||||||
errdata = this.ShopBuyCheck(session, req)
|
errdata = this.ShopBuyCheck(session, req)
|
||||||
@ -87,5 +88,10 @@ func (this *apiComp) ShopBuy(session comm.IUserSession, req *pb.MainlineShopBuyR
|
|||||||
Info: info,
|
Info: info,
|
||||||
Item: atno,
|
Item: atno,
|
||||||
})
|
})
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype236, shopConf.Shopid, 1))
|
||||||
|
|
||||||
|
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||||
|
this.module.ModuleBuried.TriggerBuried(session, tasks...)
|
||||||
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user