|
|
@ -204,15 +204,15 @@ public class SuperAdminService { |
|
|
|
return; |
|
|
|
} |
|
|
|
while (current < total) { |
|
|
|
int random = ThreadLocalRandom.current().nextInt(0, 14); |
|
|
|
int random = ThreadLocalRandom.current().nextInt(0, 9); |
|
|
|
int advType = Constants.BANNER; |
|
|
|
long ecpm = ThreadLocalRandom.current().nextInt(50_00, 600_00);//5分到6毛
|
|
|
|
if (random > 12) { |
|
|
|
if (random > 7) { |
|
|
|
advType = Constants.VIDEO; |
|
|
|
ecpm = ThreadLocalRandom.current().nextInt(3000_00, 6000_00);//3块到6块
|
|
|
|
} else if (random > 9) { |
|
|
|
} else if (random > 6) { |
|
|
|
advType = Constants.POP_UP; |
|
|
|
ecpm = ThreadLocalRandom.current().nextInt(50_00, 600_00);//
|
|
|
|
ecpm = ThreadLocalRandom.current().nextInt(80_00, 600_00);//
|
|
|
|
} |
|
|
|
|
|
|
|
current += ecpm; |
|
|
|