diff --git a/app/svc/svc_data_center_original_data.go b/app/svc/svc_data_center_original_data.go index 4846b93..2031d20 100644 --- a/app/svc/svc_data_center_original_data.go +++ b/app/svc/svc_data_center_original_data.go @@ -228,7 +228,7 @@ func DataCenterOriginalDataDoing(c *gin.Context, req md.DataCenterDataCenterOrig OriginalExposureCount: data.ExposureCount, OriginalEcpm: data.Ecpm, NowExposureCount: utils.StrToInt(req.NowExposureCount), - NowEcpm: utils.IntToStr(utils.StrToInt(req.NowEcpm) * 100), + NowEcpm: utils.Float64ToStr(utils.StrToFloat64(req.NowEcpm) * 100), } err, _ = GenerateWxAdData(args) if err != nil {