Kaynağa Gözat

日志修改

WH01243 1 yıl önce
ebeveyn
işleme
e6e93b398e
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 5 4
      clueSync/job.go

+ 5 - 4
clueSync/job.go

@@ -82,11 +82,12 @@ func FormatData(data map[string]interface{}, item string) (bool, bool) {
 			}
 			if item == "xcxusers" {
 				sourceCode = common.ObjToString(data["s_sourceid"])
+				if sourceCode == "" {
+					log.Println("留资没有source", phone)
+					return true, true
+				}
 			}
-			if sourceCode == "" {
-				log.Println("留资没有source", phone)
-				return true, true
-			}
+
 		}
 	} else if item == "saleLeads" { //留资
 		userId = common.ObjToString(data["userid"])