Commit eb44cb88 by Joneq

增加判断

parent e97b030c
Showing with 11 additions and 0 deletions
...@@ -156,6 +156,17 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{ ...@@ -156,6 +156,17 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
MemberUserInfo.Channel_source = 14//如果是以上adtagfindchips广告 MemberUserInfo.Channel_source = 14//如果是以上adtagfindchips广告
} }
//20210531 新增adtag来源
if strings.Contains(adtag,"adtag=sc-") {
MemberUserInfo.Channel_source = 17//如果是以上adtag市场渠道
}
if strings.Contains(adtag,"adtag=shequn-") {
MemberUserInfo.Channel_source = 2//如果是以上adtag社群
}
if strings.Contains(adtag,"adtag=zh-") {
MemberUserInfo.Channel_source = 9//如果是以上adtag展会用户
}
SetTagSale(adtag,&MemberUserInfo) SetTagSale(adtag,&MemberUserInfo)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment