From 1a2e02592e2aba38889d4e66b8112c4f2bb0a8ef Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 9 Oct 2024 10:48:24 +0800 Subject: [PATCH] 1 --- consume/ad_original_data_application.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consume/ad_original_data_application.go b/consume/ad_original_data_application.go index 8e45afc..4db6823 100644 --- a/consume/ad_original_data_application.go +++ b/consume/ad_original_data_application.go @@ -114,9 +114,9 @@ func handleAdOriginalDataApplication(msgData []byte) error { Date: msg.Date, ReqSuccCount: int(v.StatItem.ReqSuccCount), ExposureCount: int(v.StatItem.ExposureCount), - ExposureRate: utils.Float64ToStr(v.StatItem.ExposureRate), + ExposureRate: utils.Float64ToStr(v.StatItem.ExposureRate * 100), ClickCount: int(v.StatItem.ClickCount), - ClickRate: utils.Float64ToStr(v.StatItem.ClickRate), + ClickRate: utils.Float64ToStr(v.StatItem.ClickRate * 100), PublisherIncome: int(v.StatItem.PublisherIncome), Ecpm: utils.Float64ToStr(v.StatItem.Ecpm), CreateAt: time.Now().Format("2006-01-02 15:04:05"),