Commit c68abb76 by 朱继来

添加来源

parent b5f3d5fa
Showing with 17 additions and 0 deletions
...@@ -159,6 +159,23 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{ ...@@ -159,6 +159,23 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
SetTagSale(adtag,&MemberUserInfo) SetTagSale(adtag,&MemberUserInfo)
} }
if MemberUserInfo.User_Type != 0 {
switch (MemberUserInfo.User_Type) {
case 1:
MemberUserInfo.Channel_source = 9 // 展会用户
break
case 2:
MemberUserInfo.Channel_source = 15 // 客户推荐
break
case 3:
MemberUserInfo.Channel_source = 16 // 自主开发
break
case 4:
MemberUserInfo.Channel_source = 7 // 其他
break
}
}
// 若前三种方式都没获取到sale_id,则从客服池中获取 // 若前三种方式都没获取到sale_id,则从客服池中获取
//if MemberUserInfo.Sale_Id == 0 { //if MemberUserInfo.Sale_Id == 0 {
// var kefu model.Kefu // var kefu model.Kefu
......
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