|
@@ -75,16 +75,17 @@ func FormatData(data map[string]interface{}, item string) (bool, bool, bool) {
|
|
} else {
|
|
} else {
|
|
query["userid"] = userId
|
|
query["userid"] = userId
|
|
}
|
|
}
|
|
|
|
+ createtimeStr := ""
|
|
userInfo := TiDb.FindOne("dwd_f_userbase_baseinfo", query, "", "")
|
|
userInfo := TiDb.FindOne("dwd_f_userbase_baseinfo", query, "", "")
|
|
if userInfo != nil && len(*userInfo) > 0 {
|
|
if userInfo != nil && len(*userInfo) > 0 {
|
|
uId = common.ObjToString((*userInfo)["uid"])
|
|
uId = common.ObjToString((*userInfo)["uid"])
|
|
source = common.ObjToString((*userInfo)["source"])
|
|
source = common.ObjToString((*userInfo)["source"])
|
|
belong_to = common.ObjToString((*userInfo)["belong_to"])
|
|
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)["createtime"])
|
|
}
|
|
}
|
|
if item == "xcxusers" {
|
|
if item == "xcxusers" {
|
|
sourceCode = common.ObjToString(data["industry"])
|
|
sourceCode = common.ObjToString(data["industry"])
|
|
- createtimeStr := common.ObjToString(data["createtime"])
|
|
|
|
t, _ := time.Parse("2006-01-02 15:04:05", createtimeStr)
|
|
t, _ := time.Parse("2006-01-02 15:04:05", createtimeStr)
|
|
if sourceCode == "" {
|
|
if sourceCode == "" {
|
|
log.Println("留资没有source", phone)
|
|
log.Println("留资没有source", phone)
|