Commit 8105a4b5 by 朱继来

Merge branch 'master' of http://119.23.72.7/gongyang/crm_server

parents fbd05c07 6b9f4e12
Showing with 4 additions and 10 deletions
......@@ -117,22 +117,15 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
ptag = strings.Split(ptag,",")[0]
MemberUserInfo.Ptag = strings.Split(ptag,",")[0]
switch ptag {
case "ptag=activity-140":
case "ptag=activity-141":
case "ptag=activity-143":
case "ptag=activity-144":
case "ptag=activity-140","ptag=activity-141","ptag=activity-143", "ptag=activity-144":
MemberUserInfo.Customer_identity = 2//如果是以上ptag则为采购用户
MemberUserInfo.Channel_source = 9//如果是以上ptag则为展会用户
break
case "ptag=activity-142":
case "ptag=activity-145":
case "ptag=activity-142","ptag=activity-145":
MemberUserInfo.Customer_identity = 1//如果是以上ptag则为工程师
MemberUserInfo.Channel_source = 9//如果是以上ptag则为展会用户
break
case "ptag=sample":
case "ptag=sample-pop":
case "ptag=samplereg":
case "ptag=sample-stopnav":
case "ptag=sample","ptag=sample-pop","ptag=samplereg","ptag=sample-stopnav":
MemberUserInfo.Channel_source = 10//如果是以上ptag则为自营样片
break
case "ptag=jr":
......@@ -142,6 +135,7 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
MemberUserInfo.Channel_source = 12//如果是以上ptag则为信用贷测评
break
}
SetTagSale(ptag,&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