@ -47,6 +47,9 @@ public class AdvRecordService {
Assert.isTrue(u.getAppId().equals(app.getId()), "非法请求");
long ecpmReal = ecpm * config.getRate(u) / 100;
ecpmReal = Math.min(config.maxIncomeEachVideo * 1000L, ecpmReal);
if (bo.advType != 3) {
ecpmReal = 0; //只有激励视频算钱
}
MatrixAdvRecord record = new MatrixAdvRecord();
record.setDeviceId(bo.deviceId);