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