Browse Source

去重处理

WH01243 1 tháng trước cách đây
mục cha
commit
ce8654412d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      clueSync/everything.go

+ 1 - 1
clueSync/everything.go

@@ -815,7 +815,7 @@ func processLead(v map[string]interface{}, sourceMap map[string]map[string]inter
 	if userData == nil || isUserInBlackList(userData) {
 		return nil, lastTime
 	}
-	key := fmt.Sprintf("%s_%s_%s", sourceMap[sources], phone, common.ObjToString(v["interest"]))
+	key := fmt.Sprintf("%s_%s_%s", sources, phone, common.ObjToString(v["interest"]))
 	if _, exists := data[key]; exists {
 		return nil, lastTime
 	}