ecpm日志

This commit is contained in:
xiabin 2025-02-20 13:46:22 +08:00
parent 73a95f7db2
commit 6bd6517a0d

View File

@ -49,6 +49,8 @@ func (l *GetEcpmLogic) GetEcpm(in *ecpm.GetEcpmRequest) (response *ecpm.GetEcpmR
//计算ECPM具体值 //计算ECPM具体值
ecpmVal := CalcEcpm(list) ecpmVal := CalcEcpm(list)
l.Logger.Infof("user:%s,ecpm:%f", in.OpenId, ecpmVal)
//获取后端配置的ECPM值 //获取后端配置的ECPM值
config, ok := l.svcCtx.EcpmConfig.Get(in.AppId) config, ok := l.svcCtx.EcpmConfig.Get(in.AppId)
if !ok { if !ok {