diff --git a/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/enums/SysOriginPlatformEnum.java b/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/enums/SysOriginPlatformEnum.java index c6c19959..487b6ec5 100644 --- a/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/enums/SysOriginPlatformEnum.java +++ b/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/enums/SysOriginPlatformEnum.java @@ -29,12 +29,13 @@ public enum SysOriginPlatformEnum implements ISysOriginPlatform { HALAR("Halar",8), LOTFUN("Lotfun",9), HOOKA("Hooka",10), + LIKEI("Likei",11), ; /** * 语言房系统. */ - private static final List VOICE_SYSTEM = List.of(TARAB, YOLO, HALAR, LOTFUN, HOOKA); + private static final List VOICE_SYSTEM = List.of(TARAB, YOLO, HALAR, LIKEI, HOOKA); /** * 平台名称. diff --git a/rc-service-game/game-fruit/src/main/java/com/red/circle/game/fruit/application/dto/enums/GameSysOriginEnum.java b/rc-service-game/game-fruit/src/main/java/com/red/circle/game/fruit/application/dto/enums/GameSysOriginEnum.java index 12eb3db6..1e25efc5 100644 --- a/rc-service-game/game-fruit/src/main/java/com/red/circle/game/fruit/application/dto/enums/GameSysOriginEnum.java +++ b/rc-service-game/game-fruit/src/main/java/com/red/circle/game/fruit/application/dto/enums/GameSysOriginEnum.java @@ -14,6 +14,7 @@ public enum GameSysOriginEnum implements ISysOriginPlatform { HALAR("Halar"), LOTFUN("Lotfun"), HOOKA("Hooka"), + LIKEI("Likei"), ; private final String originName; diff --git a/rc-service/rc-service-console/console-infrastructure/src/main/java/com/red/circle/console/infra/database/rds/service/count/impl/StatisticsDailyRegisterLogoutPlatformServiceImpl.java b/rc-service/rc-service-console/console-infrastructure/src/main/java/com/red/circle/console/infra/database/rds/service/count/impl/StatisticsDailyRegisterLogoutPlatformServiceImpl.java index d396dae8..5824fdd1 100644 --- a/rc-service/rc-service-console/console-infrastructure/src/main/java/com/red/circle/console/infra/database/rds/service/count/impl/StatisticsDailyRegisterLogoutPlatformServiceImpl.java +++ b/rc-service/rc-service-console/console-infrastructure/src/main/java/com/red/circle/console/infra/database/rds/service/count/impl/StatisticsDailyRegisterLogoutPlatformServiceImpl.java @@ -59,7 +59,7 @@ public class StatisticsDailyRegisterLogoutPlatformServiceImpl extends private String countUserByRegion(LocalDate countTime, LocalDate endCountTime) { // 查询各个区域的注册信息插入数据库 - List userBaseInfos = userBaseInfoService.countUserByRegion(SysOriginPlatformEnum.LOTFUN.getSysOrigin(), countTime, endCountTime); + List userBaseInfos = userBaseInfoService.countUserByRegion(SysOriginPlatformEnum.LIKEI.getSysOrigin(), countTime, endCountTime); log.warn("新增用户开始结束时间:" + countTime + "----" + endCountTime + "----" + JSON.toJSONString(userBaseInfos)); List TH = userBaseInfos.stream().filter(item -> item.getCountryCode().equals("TH") || item.getCountryCode().equals("LA")).toList(); List MY = userBaseInfos.stream().filter(item -> item.getCountryCode().equals("MY")).toList(); diff --git a/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/scheduler/GoogleReimburseCheckTask.java b/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/scheduler/GoogleReimburseCheckTask.java index 4a7b85b9..0ebaf361 100644 --- a/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/scheduler/GoogleReimburseCheckTask.java +++ b/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/scheduler/GoogleReimburseCheckTask.java @@ -58,7 +58,7 @@ public class GoogleReimburseCheckTask { public void executeReimburse(int latestMinutes) { List.of( - KeyValuePair.of(SysOriginPlatformEnum.LOTFUN, "com.lotfun.life.room") + KeyValuePair.of(SysOriginPlatformEnum.LIKEI, "com.likei.life.room") ).forEach(keyValuePair -> { VoidedPurchasesListResponse response = googleVerifyService diff --git a/rc-service/rc-service-order/order-inner-endpoint/src/main/java/com/red/circle/order/inner/service/impl/OrderPurchaseHistoryClientServiceImpl.java b/rc-service/rc-service-order/order-inner-endpoint/src/main/java/com/red/circle/order/inner/service/impl/OrderPurchaseHistoryClientServiceImpl.java index 541dbdc9..64c62c8d 100644 --- a/rc-service/rc-service-order/order-inner-endpoint/src/main/java/com/red/circle/order/inner/service/impl/OrderPurchaseHistoryClientServiceImpl.java +++ b/rc-service/rc-service-order/order-inner-endpoint/src/main/java/com/red/circle/order/inner/service/impl/OrderPurchaseHistoryClientServiceImpl.java @@ -106,7 +106,7 @@ public class OrderPurchaseHistoryClientServiceImpl implements OrderPurchaseHisto .select(OrderPurchaseHistory::getId) .eq(OrderPurchaseHistory::getUserId, userId) .eq(OrderPurchaseHistory::getPayPlatform, "GOOGLE") - .eq(OrderPurchaseHistory::getSysOrigin, "LOTFUN") + .eq(OrderPurchaseHistory::getSysOrigin, "LIKEI") .list(); return CollectionUtils.isNotEmpty(list); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/ManagerApprovalNotPassCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/ManagerApprovalNotPassCmdExe.java index 7c4aa4b6..615ca897 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/ManagerApprovalNotPassCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/ManagerApprovalNotPassCmdExe.java @@ -163,7 +163,7 @@ public class ManagerApprovalNotPassCmdExe { private void approvalUserAccount(ManagerApprovalCmd cmd) { if (cmd.checkApprovalUserAccountFreeze()) { UserConsumptionLevel userLevel = userProfileGateway.getUserConsumptionLevel( - SysOriginPlatformEnum.valueOf("LOTFUN"), + SysOriginPlatformEnum.valueOf("LIKEI"), cmd.getBeApprovalUserId()); checkUserLevel(cmd, userLevel); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/game/GameBurstCrystalCommon.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/game/GameBurstCrystalCommon.java index 5c4431e6..788c91e8 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/game/GameBurstCrystalCommon.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/game/GameBurstCrystalCommon.java @@ -158,7 +158,7 @@ public class GameBurstCrystalCommon { try { // 发送奖励 - if (Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.LOTFUN.name()) || Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.TARAB.name())) { + if (Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.LIKEI.name()) || Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.TARAB.name())) { sendRewardTwoFun(cmd, processing, ruleConfig, ruleContent.getLevel()); } else { sendReward(cmd, processing, ruleConfig); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/task/TaskListener.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/task/TaskListener.java index 5fa5ab89..7267f7e1 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/task/TaskListener.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/task/TaskListener.java @@ -521,7 +521,7 @@ public class TaskListener implements MessageListener { private void handleTask13(TaskApprovalEvent eventBody) { log.warn("处理任务-13 财富等级达到10级: {}", eventBody); UserConsumptionLevel userLevel = userProfileGateway.getUserConsumptionLevel( - SysOriginPlatformEnum.valueOf("LOTFUN"), + SysOriginPlatformEnum.valueOf("LIKEI"), eventBody.getUserId()); if (userLevel.getWealthLevel() >= 10) { updateTaskStatusV2(eventBody); @@ -533,7 +533,7 @@ public class TaskListener implements MessageListener { private void handleTask14(TaskApprovalEvent eventBody) { log.warn("处理任务-14 魅力等级达到10级: {}", eventBody); UserConsumptionLevel userLevel = userProfileGateway.getUserConsumptionLevel( - SysOriginPlatformEnum.valueOf("LOTFUN"), + SysOriginPlatformEnum.valueOf("LIKEI"), eventBody.getUserId()); //魅力等级逻辑 if (userLevel.getCharmLevel() >= 10) { diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DiamondToCoinsTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DiamondToCoinsTask.java index f7812d6d..e17556e6 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DiamondToCoinsTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DiamondToCoinsTask.java @@ -43,9 +43,9 @@ public class DiamondToCoinsTask { @TaskCacheLock(key = "USER_SALARY_DIAMOND_BALANCE", expireSecond = 86400) public void diamondToCoins() { - Map userIdBalanceMap = salaryDiamondBalanceClient.mapBalanceBySysOrigin(SysOriginPlatformEnum.LOTFUN.name()).getBody(); + Map userIdBalanceMap = salaryDiamondBalanceClient.mapBalanceBySysOrigin(SysOriginPlatformEnum.LIKEI.name()).getBody(); if (CollectionUtils.isEmpty(userIdBalanceMap)) { - log.warn("【钻石转金币定时器】:LOTFUN 系统不存在钻石余额数据"); + log.warn("【钻石转金币定时器】:LIKEI 系统不存在钻石余额数据"); return; } userIdBalanceMap.forEach( diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/task/TaskServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/task/TaskServiceImpl.java index 96ff50e9..80c3d05d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/task/TaskServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/task/TaskServiceImpl.java @@ -374,7 +374,7 @@ public class TaskServiceImpl implements TaskService { userTaskProgress.setCreateTimestamp(TimestampUtils.now()); UserConsumptionLevel userLevel = userProfileGateway.getUserConsumptionLevel( - SysOriginPlatformEnum.valueOf("LOTFUN"), + SysOriginPlatformEnum.valueOf("LIKEI"), userId); //taskid =6 加入家族 7 组成cp 13 财富等级10 14 魅力等级10 初始化时就要判断是否完成 switch (taskConfig.getTaskId().intValue()) { diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java index fb458c60..57997043 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java @@ -153,7 +153,7 @@ public class ManagerAuthServiceImpl implements ManagerAuthService { } String lowerCaseInput = input.toLowerCase(); return !(lowerCaseInput.contains("manager") || - lowerCaseInput.contains("lotfun") || + lowerCaseInput.contains("likei") || lowerCaseInput.contains("official")); } diff --git a/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/enums/FreightGoldToUsdRatioEnum.java b/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/enums/FreightGoldToUsdRatioEnum.java index 6403d25d..660f2eb2 100644 --- a/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/enums/FreightGoldToUsdRatioEnum.java +++ b/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/enums/FreightGoldToUsdRatioEnum.java @@ -23,6 +23,7 @@ public enum FreightGoldToUsdRatioEnum { * YOLO. */ YOLO(6000), + LIKEI(6000), LOTFUN(6000); private final int ratio; diff --git a/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/service/wallet/impl/WalletDiamondClientServiceImpl.java b/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/service/wallet/impl/WalletDiamondClientServiceImpl.java index 590cd5e8..f1a3f687 100644 --- a/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/service/wallet/impl/WalletDiamondClientServiceImpl.java +++ b/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/service/wallet/impl/WalletDiamondClientServiceImpl.java @@ -111,7 +111,7 @@ public class WalletDiamondClientServiceImpl implements WalletDiamondClientServic cmd.setAmount(amount); cmd.setReqUserId(userId); cmd.setReqTime(new Date()); - cmd.setReqSysOrigin(ReqSysOrigin.of("LOTFUN")); + cmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); log.warn("【钻石转金币定时器】用户-{} 自动兑换金币量 {}", userId, cmd); try { userBankExchangeGoldCmdExe.executeDiamond(cmd);