|
|
@@ -36,7 +36,7 @@ func DataCenterOriginalDataList(c *gin.Context, req md.DataCenterOriginalDataReq |
|
|
|
ClickRate: v.ClickRate, |
|
|
|
Date: v.Date, |
|
|
|
PublisherIncome: utils.Float64ToStr(float64(v.PublisherIncome) / 100), |
|
|
|
Ecpm: utils.Float64ToStr(utils.StrToFloat64(v.Ecpm) / 100), |
|
|
|
Ecpm: utils.Float64ToStr(float64(utils.StrToInt(v.Ecpm)) / 100), |
|
|
|
IsApply: utils.IntToStr(v.IsApply), |
|
|
|
} |
|
|
|
tmpApplet := GetAppletInfo(c, v.AppId) |
|
|
@@ -193,8 +193,8 @@ func DataCenterOriginalDataTotal(c *gin.Context, req md.DataCenterOriginalDataCo |
|
|
|
ExtraRevenueRate: utils.IntToStr(strategy.ExtraRevenueRate), |
|
|
|
AgreementSharingRate: utils.IntToStr(strategy.AgreementSharingRate), |
|
|
|
ExposureCount: utils.IntToStr(data.ExposureCount), |
|
|
|
Ecpm: utils.Float64ToStr(utils.StrToFloat64(ecpm) / 100), |
|
|
|
OldEcpm: utils.Float64ToStr(utils.StrToFloat64(data.Ecpm) / 100), |
|
|
|
Ecpm: utils.Float64ToStr(float64(utils.StrToInt(ecpm)) / 100), |
|
|
|
OldEcpm: utils.Float64ToStr(float64(utils.StrToInt(data.Ecpm)) / 100), |
|
|
|
PlatformRetention: utils.Float64ToStr(appData.PlatformRetention / 100), |
|
|
|
CommissionRetention: utils.Float64ToStr(appData.CommissionRetention / 100), |
|
|
|
MediaRevenue: utils.Float64ToStr(appData.MediaRevenue / 100), |
|
|
|