|
@@ -44,6 +44,7 @@ var (
|
|
|
AppBuyPortraitNameReg = regexp.MustCompile(".*jyapp/big/page/unit_portrayal\\?entName=(.*)")
|
|
|
PcEntPortraitNameReg = regexp.MustCompile(".*/swordfish/page_big_pc/ent_portrait/(.*)")
|
|
|
AppEntPortraitNameReg = regexp.MustCompile(".*/jyapp/big/page/ent_portrait\\?eId=(.*)")
|
|
|
+ CollectionReg = regexp.MustCompile("*frontPage/collection/sess/index")
|
|
|
)
|
|
|
|
|
|
func init() {
|
|
@@ -208,6 +209,8 @@ func EventInfoAdd(start, end int64) {
|
|
|
entId := util.DecodeId(eId)
|
|
|
name = GetEntNameByEntId(entId)
|
|
|
}
|
|
|
+ } else if CollectionReg.MatchString(url_) {
|
|
|
+ eventtype = COLLECTION
|
|
|
}
|
|
|
createtime := time.Unix(gconv.Int64(v["date"]), 0).Format(date.Date_Full_Layout)
|
|
|
values = append(values, userid, eventtype, name, url_, platform, createtime)
|