diff --git a/game-service/src/main/java/awesome/group/game/service/matrix/AdminService.java b/game-service/src/main/java/awesome/group/game/service/matrix/AdminService.java index 20b23fa..25501eb 100644 --- a/game-service/src/main/java/awesome/group/game/service/matrix/AdminService.java +++ b/game-service/src/main/java/awesome/group/game/service/matrix/AdminService.java @@ -370,7 +370,8 @@ public class AdminService { schedule.setAppId(appId); schedule.setScheduleTime(new Timestamp(x)); schedule.setChannel(app.getChannel()); - schedule.setIncomeYuan(bo.incomeYuan); + Integer incomeYuan = bo.incomeYuan * ThreadLocalRandom.current().nextInt(80, 120) / 100; + schedule.setIncomeYuan(incomeYuan); list.add(schedule); }); } diff --git a/game-service/src/main/java/awesome/group/game/service/matrix/SuperAdminService.java b/game-service/src/main/java/awesome/group/game/service/matrix/SuperAdminService.java index d3b57ae..f27af00 100644 --- a/game-service/src/main/java/awesome/group/game/service/matrix/SuperAdminService.java +++ b/game-service/src/main/java/awesome/group/game/service/matrix/SuperAdminService.java @@ -153,7 +153,8 @@ public class SuperAdminService { MatrixMockScheduleV2 schedule = new MatrixMockScheduleV2(); schedule.setAppId(appId); schedule.setScheduleTime(new Timestamp(x)); - schedule.setIncomeYuan(bo.incomeYuan); + Integer incomeYuan = bo.incomeYuan * ThreadLocalRandom.current().nextInt(80, 120) / 100; + schedule.setIncomeYuan(incomeYuan); list.add(schedule); }); }