Просмотр исходного кода

Merge branch 'dev_v1.5.5_wh' of jianyu/datatools into feature/v1.5.5

王浩 1 год назад
Родитель
Сommit
7a97123736
1 измененных файлов с 5 добавлено и 4 удалено
  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"])