浏览代码

去重处理

WH01243 1 月之前
父节点
当前提交
ce8654412d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 	}