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