From f1e2d12ba1a191cf03775a18f9a77f9166021094 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Fri, 27 Dec 2024 15:42:40 +0800 Subject: [PATCH] fix: del test index --- consume/egg_energy_deal_user_ecpm.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/consume/egg_energy_deal_user_ecpm.go b/consume/egg_energy_deal_user_ecpm.go index 45cae8e..b76041a 100644 --- a/consume/egg_energy_deal_user_ecpm.go +++ b/consume/egg_energy_deal_user_ecpm.go @@ -73,8 +73,6 @@ func handleEggEnergyDealUserECPMConsume(msgData []byte) error { weekStr := utils2.IntToStr(week) index := es2.GetAppointIndexFromAlias(yearStr, weekStr) id := fmt.Sprintf("%d%d_%d", year, week, msg.Uid) - id = "202453_16" - index = "egg_energy_user_egg_score_202453" script := elastic.NewScript("ctx._source.ecpm += params.inc").Param("inc", utils2.StrToFloat64(msg.Ecpm)) updateDocRet, err := es.EsClient.Update().