|
@@ -17,7 +17,7 @@ import (
|
|
|
)
|
|
|
|
|
|
func FormatData(data map[string]interface{}, item string) (bool, bool, bool) {
|
|
|
- userId, uId, positionId, source, cluename, phone, sourceCode, keyword, s_sourceid := common.ObjToString(data["user_id"]), "", "", "", "", "", "", []string{}, ""
|
|
|
+ userId, uId, positionId, source, cluename, phone, sourceCode, keyword, _ := common.ObjToString(data["user_id"]), "", "", "", "", "", "", []string{}, ""
|
|
|
role, industry, department, departments, position, name, top_cluetype, sub_cluetype, follow_project_area, level := "", "", "", "", "", "", "", "", "", ""
|
|
|
query, topname, subname, belong_to, sourceName, remark, sourceId := map[string]interface{}{}, "", "", "01", "", "", int64(0)
|
|
|
nowTime := time.Now().Format("2006-01-02 15:04:05")
|
|
@@ -86,7 +86,7 @@ func FormatData(data map[string]interface{}, item string) (bool, bool, bool) {
|
|
|
uId = common.ObjToString((*userInfo)["uid"])
|
|
|
source = common.ObjToString((*userInfo)["source"])
|
|
|
belong_to = common.ObjToString((*userInfo)["belong_to"])
|
|
|
- s_sourceid = common.ObjToString((*userInfo)["s_sourceid"])
|
|
|
+ //s_sourceid = common.ObjToString((*userInfo)["s_sourceid"])
|
|
|
//createtimeStr = common.ObjToString((*userInfo)["l_registedate"])
|
|
|
}
|
|
|
if item == "xcxusers" {
|
|
@@ -168,7 +168,7 @@ func FormatData(data map[string]interface{}, item string) (bool, bool, bool) {
|
|
|
source = common.ObjToString((*userInfo)["source"])
|
|
|
belong_to = common.ObjToString((*userInfo)["belong_to"])
|
|
|
userId = common.ObjToString((*userInfo)["userid"])
|
|
|
- s_sourceid = common.ObjToString((*userInfo)["s_sourceid"])
|
|
|
+ //s_sourceid = common.ObjToString((*userInfo)["s_sourceid"])
|
|
|
}
|
|
|
} else {
|
|
|
if sourceCode == "report_retention" || sourceCode == "marketing_retention" { //荟聚线索来源,不是剑鱼用户,需要等待用户归集
|