nili 9 months ago
parent
commit
ea20fb5d6a
  1. 3
      game-service/src/main/java/awesome/group/game/service/AdminService.java

3
game-service/src/main/java/awesome/group/game/service/AdminService.java

@ -319,6 +319,7 @@ public class AdminService {
while (income < target) {
MatrixAdvRecord record = mockDevice.get(ThreadLocalRandom.current().nextInt(0, mockDevice.size()));
long ecpm = ThreadLocalRandom.current().nextInt(500_00, 1500_00);
record.setId(null);
record.setEcpm(ecpm);
record.setAppId(app.getId());
record.setPlatform(2);
@ -328,7 +329,7 @@ public class AdminService {
advRecordMapper.insert(record);
try{
Thread.sleep(ThreadLocalRandom.current().nextInt(10000, 20000));
Thread.sleep(ThreadLocalRandom.current().nextInt(10_000, 20_000));
} catch (Exception e) {
L.trace("mockData", "error:" + e.getMessage(), e);
}

Loading…
Cancel
Save