|
@@ -87,6 +87,13 @@ func FormatData(data map[string]interface{}, item string) (bool, bool) {
|
|
log.Println("留资没有source", phone)
|
|
log.Println("留资没有source", phone)
|
|
return true, true
|
|
return true, true
|
|
}
|
|
}
|
|
|
|
+ //线索名称查询处理
|
|
|
|
+ clueData, _ := TiDb.FindOne("dwd_f_crm_clue_info", map[string]interface{}{"uid": uId}, "", ""), true //查当前线索是否已存在
|
|
|
|
+ if clueData != nil && len(*clueData) > 0 {
|
|
|
|
+ cluename = gconv.String((*clueData)["cluename"])
|
|
|
|
+ } else {
|
|
|
|
+ cluename = phone
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|