nili 7 months ago
parent
commit
bc54d32fd8
  1. 3
      game-service/src/main/java/awesome/group/game/service/citrus/AdvRecordService.java

3
game-service/src/main/java/awesome/group/game/service/citrus/AdvRecordService.java

@ -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);

Loading…
Cancel
Save