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 487b6ec5..2da89af3 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 @@ -30,12 +30,13 @@ public enum SysOriginPlatformEnum implements ISysOriginPlatform { LOTFUN("Lotfun",9), HOOKA("Hooka",10), LIKEI("Likei",11), + BZIZI("Bzizi",12), ; /** * 语言房系统. */ - private static final List VOICE_SYSTEM = List.of(TARAB, YOLO, HALAR, LIKEI, HOOKA); + private static final List VOICE_SYSTEM = List.of(TARAB, YOLO, HALAR, LIKEI, HOOKA, BZIZI); /** * 平台名称. diff --git a/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/level/LevelUtils.java b/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/level/LevelUtils.java index 9ef6fc41..e4dd1996 100644 --- a/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/level/LevelUtils.java +++ b/rc-common-business/common-business-core/src/main/java/com/red/circle/common/business/core/level/LevelUtils.java @@ -33,7 +33,7 @@ public class LevelUtils { LevelType.ROOM, new LevelCalculation(10000L * 5L), LevelType.CARD, new LevelCalculation(1000L * 5L) ), - SysOriginPlatformEnum.LIKEI, Map.of( + SysOriginPlatformEnum.BZIZI, Map.of( LevelType.USER, new LevelCalculation(500L * 5L), LevelType.ROOM, new LevelCalculation(10000L * 5L), LevelType.CARD, new LevelCalculation(1000L * 5L) 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 1e25efc5..c3ccb3ec 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 @@ -15,6 +15,7 @@ public enum GameSysOriginEnum implements ISysOriginPlatform { LOTFUN("Lotfun"), HOOKA("Hooka"), LIKEI("Likei"), + BZIZI("Bzizi"), ; private final String originName; diff --git a/rc-service/rc-service-console/console-application/src/main/java/com/red/circle/console/app/service/app/sys/SysActivityConfigServiceImpl.java b/rc-service/rc-service-console/console-application/src/main/java/com/red/circle/console/app/service/app/sys/SysActivityConfigServiceImpl.java index 6a675d16..13dac752 100644 --- a/rc-service/rc-service-console/console-application/src/main/java/com/red/circle/console/app/service/app/sys/SysActivityConfigServiceImpl.java +++ b/rc-service/rc-service-console/console-application/src/main/java/com/red/circle/console/app/service/app/sys/SysActivityConfigServiceImpl.java @@ -50,7 +50,7 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; -import static com.red.circle.common.business.core.enums.SysOriginPlatformEnum.LIKEI; +import static com.red.circle.common.business.core.enums.SysOriginPlatformEnum.BZIZI; /** * 系统活动配置. @@ -271,8 +271,8 @@ public class SysActivityConfigServiceImpl implements SysActivityConfigService { @Override public ActivityRankCO getActivityRank(Long activityId) { - ResultResponse> response = weekKingQueenClient.listRanking("LIKEI", KingQueenType.CHARM, getThisWeekDate(), 1L, 20L); - ResultResponse> response2 = weekKingQueenClient.listRanking("LIKEI", KingQueenType.WEALTH, getThisWeekDate(), 1L, 20L); + ResultResponse> response = weekKingQueenClient.listRanking("BZIZI", KingQueenType.CHARM, getThisWeekDate(), 1L, 20L); + ResultResponse> response2 = weekKingQueenClient.listRanking("BZIZI", KingQueenType.WEALTH, getThisWeekDate(), 1L, 20L); List butOnes = (ArrayList) response.getBody().getRecords(); List butTwos = (ArrayList) response2.getBody().getRecords(); 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 5824fdd1..f1333626 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.LIKEI.getSysOrigin(), countTime, endCountTime); + List userBaseInfos = userBaseInfoService.countUserByRegion(SysOriginPlatformEnum.BZIZI.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/command/pay/web/UserProfileAndCountryQueryExe.java b/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/command/pay/web/UserProfileAndCountryQueryExe.java index 04bb7120..4624f663 100644 --- a/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/command/pay/web/UserProfileAndCountryQueryExe.java +++ b/rc-service/rc-service-order/order-application/src/main/java/com/red/circle/order/app/command/pay/web/UserProfileAndCountryQueryExe.java @@ -67,7 +67,7 @@ public class UserProfileAndCountryQueryExe { userRegionClient.getRegionId(userProfile.getId()) ); - if (Objects.equals(cmd.getSysOrigin(), SysOriginPlatformEnum.LIKEI.name())) { + if (Objects.equals(cmd.getSysOrigin(), SysOriginPlatformEnum.BZIZI.name())) { ResponseAssert.isTrue(CommonErrorCode.NOT_SUPPORTED_REGION, StringUtils.isNotBlank(regionId)); List regionRelationList = getRegionRelationList(userProfile, regionId); 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 ddcacca5..9458c549 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.LIKEI, "com.tkm.likei") + KeyValuePair.of(SysOriginPlatformEnum.BZIZI, "com.tkm.likei") ).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 64c62c8d..8368e0a8 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, "LIKEI") + .eq(OrderPurchaseHistory::getSysOrigin, "BZIZI") .list(); return CollectionUtils.isNotEmpty(list); } diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java index c4d775b4..049cc77f 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java @@ -171,7 +171,7 @@ public class GameHkysRestController { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.GAME_BAISHUN_WIN) .data(build) .build() @@ -246,7 +246,7 @@ public class GameHkysRestController { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(request.getCoin()); receiverCmd.setBizNo(request.getGameId()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); //游戏王日榜 diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryDrawExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryDrawExe.java index 1f0f1d1e..49edf068 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryDrawExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryDrawExe.java @@ -155,7 +155,7 @@ public class LotteryDrawExe { .userId(userId) .amount(PennyAmount.ofDollar(activity.getCoinCost().longValue())) .eventId(activity.getId()) - .sysOrigin(SysOriginPlatformEnum.LIKEI) + .sysOrigin(SysOriginPlatformEnum.BZIZI) .origin(GoldOrigin.CP_LOTTERY) .build(); ResponseAssert.requiredSuccess(walletGoldClient.changeBalance(build)); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryMultiDrawExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryMultiDrawExe.java index e60b7ca2..12414038 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryMultiDrawExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryMultiDrawExe.java @@ -541,7 +541,7 @@ public class LotteryMultiDrawExe { .userId(userId) .amount(PennyAmount.ofDollar(amount.longValue())) .eventId(activityId) - .sysOrigin(SysOriginPlatformEnum.LIKEI) + .sysOrigin(SysOriginPlatformEnum.BZIZI) .origin(GoldOrigin.CP_LOTTERY) .build(); ResponseAssert.requiredSuccess(walletGoldClient.changeBalance(build)); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/bd/query/TeamBdMemberBillListQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/bd/query/TeamBdMemberBillListQryExe.java index 5f6844bb..5a4e9222 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/bd/query/TeamBdMemberBillListQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/bd/query/TeamBdMemberBillListQryExe.java @@ -346,7 +346,7 @@ public class TeamBdMemberBillListQryExe { ResultResponse> response = inAppPurchaseDetailsClient.batchUserRechargeStatistics( memberIds, - SysOriginPlatformEnum.LIKEI.name(), + SysOriginPlatformEnum.BZIZI.name(), startTime, endTime ); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/propcoupon/PropCouponUseCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/propcoupon/PropCouponUseCmdExe.java index db7dd94b..e18ac382 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/propcoupon/PropCouponUseCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/propcoupon/PropCouponUseCmdExe.java @@ -125,7 +125,7 @@ public class PropCouponUseCmdExe { case NOBLE_VIP: // 赠送VIP(贵族VIP) - PropsNobleVipAbilityDTO vipAbility = getVipAbilityBySysOriginSourceId(propId, SysOriginPlatformEnum.LIKEI.name()); + PropsNobleVipAbilityDTO vipAbility = getVipAbilityBySysOriginSourceId(propId, SysOriginPlatformEnum.BZIZI.name()); giveProps(userId, propId, ConsolePropsTypeEnum.NOBLE_VIP.getName(), validDays); if (Objects.nonNull(vipAbility.getCarId()) && !Objects diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java index e65c65d5..7c42a7d8 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java @@ -224,7 +224,7 @@ public class SendRoomRedPacketCmdExe { if (cmd.getTotalAmount() >= 10000) { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.ROOM_RED_PACKET) .data(build) .build() diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendUserRedPacketCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendUserRedPacketCmdExe.java index b710b3ba..c57a37e6 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendUserRedPacketCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendUserRedPacketCmdExe.java @@ -96,7 +96,7 @@ public class SendUserRedPacketCmdExe { } ConsumptionLevel consumptionLevel = consumptionLevelService.getByUserId(cmd.getReqUserId()); - Integer level = LevelUtils.getWealthLevel(SysOriginPlatformEnum.LIKEI, consumptionLevel.getConsumptionGolds().longValue()).getLevel(); + Integer level = LevelUtils.getWealthLevel(SysOriginPlatformEnum.BZIZI, consumptionLevel.getConsumptionGolds().longValue()).getLevel(); ResponseAssert.isTrue(OtherErrorCode.USER_WEALTH_NEED_THAN_10, level >= 10); boolean eqRegion = userRegionGateway.checkEqRegion(cmd.getReqUserId(), cmd.getReceiverUserId()); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketLaunchCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketLaunchCmdExe.java index 6508d9e1..8de5de14 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketLaunchCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketLaunchCmdExe.java @@ -186,7 +186,7 @@ public class RocketLaunchCmdExe { // build.put("toLevel", toLevel); imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.ROCKET_ENERGY_LAUNCH) .data(build) .build() diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketRewardClaimCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketRewardClaimCmdExe.java index 204b2f11..94d9efda 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketRewardClaimCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/rocket/RocketRewardClaimCmdExe.java @@ -256,7 +256,7 @@ public class RocketRewardClaimCmdExe { .opsIncome() .userId(userId) .eventId(bizNo) - .sysOrigin(SysOriginPlatformEnum.LIKEI) + .sysOrigin(SysOriginPlatformEnum.BZIZI) .origin(GoldOrigin.ROCKET_REWARD) .originDescribe(GoldOrigin.ROCKET_REWARD.name()) .amount(amount) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomThemeSwitchUseCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomThemeSwitchUseCmdExe.java index c4ebfd0f..38c985e9 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomThemeSwitchUseCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomThemeSwitchUseCmdExe.java @@ -104,7 +104,7 @@ public class RoomThemeSwitchUseCmdExe { } private PropsCommodityStore getThemeStoreBySourceId(SwitchUseThemeCmd cmd) { - return propsCommodityStoreService.getBySourceId(SysOriginPlatformEnum.LIKEI, cmd.getThemeId(), + return propsCommodityStoreService.getBySourceId(SysOriginPlatformEnum.BZIZI, cmd.getThemeId(), PropsCommodityType.THEME.name()); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java index b9dd6487..fd9c3580 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java @@ -152,7 +152,7 @@ public class SignCheckInExe { .setTrackId(config.getGroupId()) .setAcceptUserId(userId) .setOrigin(SendPropsOrigin.SIGN_IN_REWARD) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setPrizes(Collections.singletonList(new PrizeDescribe() .setTrackId(config.getGroupId()) .setType(config.getType()) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java index bad70f88..931ffce7 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java @@ -47,7 +47,7 @@ public class SignInStatusQueryExe { ); Set groupIdSet = configs.stream().map(SignInDailyConfig::getResourceGroupId).collect(Collectors.toSet()); - Map propsGroupMap = activitySourceGroupGateway.mapActivityPropsGroup(SysOriginPlatformEnum.LIKEI.name(), groupIdSet); + Map propsGroupMap = activitySourceGroupGateway.mapActivityPropsGroup(SysOriginPlatformEnum.BZIZI.name(), groupIdSet); Map recordMap = records.stream() .collect(Collectors.toMap(UserSignInRecord::getDayIndex, r -> r)); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java index 5b71828d..ee0c3b06 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java @@ -155,7 +155,7 @@ public class SupplementCheckInExe { .setTrackId(config.getGroupId()) .setAcceptUserId(userId) .setOrigin(SendPropsOrigin.SIGN_IN_REWARD) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setPrizes(Collections.singletonList(new PrizeDescribe() .setTrackId(config.getGroupId()) .setType(config.getType()) 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 abd1ba82..589309f9 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("LIKEI"), + SysOriginPlatformEnum.valueOf("BZIZI"), cmd.getBeApprovalUserId()); checkUserLevel(cmd, userLevel); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserBeautifulNumberApplyCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserBeautifulNumberApplyCmdExe.java index 0ce9751d..bfa67287 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserBeautifulNumberApplyCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserBeautifulNumberApplyCmdExe.java @@ -30,7 +30,7 @@ public class UserBeautifulNumberApplyCmdExe { String account = cmd.getAccount(); Long userId = cmd.getReqUserId(); - UserConsumptionLevel consumptionLevel = userProfileGateway.getUserConsumptionLevel(SysOriginPlatformEnum.LIKEI, userId); + UserConsumptionLevel consumptionLevel = userProfileGateway.getUserConsumptionLevel(SysOriginPlatformEnum.BZIZI, userId); Integer wealthLevel = consumptionLevel.getWealthLevel(); // (1) 财富等级>=10级校验 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 788c91e8..5177dd0c 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.LIKEI.name()) || Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.TARAB.name())) { + if (Objects.equals(cmd.getSysOrigin().name(), SysOriginPlatformEnum.BZIZI.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/common/gift/GameLuckyGiftCommon.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java index bf913f4d..7a212619 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java @@ -455,7 +455,7 @@ public class GameLuckyGiftCommon { receiverCmd.setDimension(RankingDimension.CONSUME_AMOUNT.getCode()); receiverCmd.setIncrementQuantity(actualAmount); receiverCmd.setBizNo(IdWorkerUtils.getIdStr()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/GameKingRewardListener.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/GameKingRewardListener.java index 57c915aa..8e7ff6c2 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/GameKingRewardListener.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/GameKingRewardListener.java @@ -89,7 +89,7 @@ public class GameKingRewardListener implements MessageListener { // 获取活动配置 AppExtCommand cmd = new AppExtCommand(); - cmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + cmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); ActivityConfigVO activityConfig = weekKingQueenService.getEffectiveActivity(cmd, templateId); if (activityConfig == null || activityConfig.getConfig() == null) { log.warn("活动配置不存在, templateId: {}", templateId); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java index 01e84f2e..face1b37 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java @@ -704,7 +704,7 @@ public class GiftCountStrategy implements GiftStrategy { private Long getActualAmount(GiftValue giftValue, BigDecimal acceptAmount) { if (isLuckyGift(giftValue)) { - BigDecimal ratio = gameLuckyGiftCommon.getLuckyGiftShareRatio(SysOriginPlatformEnum.LIKEI.name()); + BigDecimal ratio = gameLuckyGiftCommon.getLuckyGiftShareRatio(SysOriginPlatformEnum.BZIZI.name()); return acceptAmount.multiply(ratio).setScale(0, RoundingMode.DOWN).longValue(); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java index 01e8311d..c5b592d8 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java @@ -480,7 +480,7 @@ public class RankCountStrategy implements GiftStrategy { receiverCmd.setDimension(RankingDimension.CONSUME_AMOUNT.getCode()); receiverCmd.setIncrementQuantity(actualAmount); receiverCmd.setBizNo(runningWater.getId().toString()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); } 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 5787fc2f..306fe192 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 @@ -372,7 +372,7 @@ public class TaskListener implements MessageListener { // 发送道具 /*propsActivityCnfClient.sendActivityReward(new SendActivityRewardCmd() .setTrackId(IdWorkerUtils.getId()) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setAcceptUserId(eventBody.getUserId()) .setSourceGroupId(userTaskProgress.getRewardId()) .setOrigin(SendPropsOrigin.DAILY_TASK_REWARD) @@ -423,7 +423,7 @@ public class TaskListener implements MessageListener { .build()); inviteUserSummaryService.incrCommission(userInviteUser.getUserId(), BigDecimal.valueOf(gold)); - inviteUserRechargeCommissionService.add(SysOriginPlatformEnum.LIKEI.name(), userInviteUser.getUserId(), + inviteUserRechargeCommissionService.add(SysOriginPlatformEnum.BZIZI.name(), userInviteUser.getUserId(), userInviteUser.getInviteUserId(), BigDecimal.valueOf(gold)); recordRanking(userInviteUser.getUserId(), gold); @@ -438,7 +438,7 @@ public class TaskListener implements MessageListener { private void recordRanking(Long userId, Long quantity) { RankingActivityRecord record = new RankingActivityRecord(); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setUserId(userId); record.setUserSex(1); record.setActivityType(RankingActivityType.INVITE); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/RocketImPushManager.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/RocketImPushManager.java index d813ac9c..84a3938a 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/RocketImPushManager.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/RocketImPushManager.java @@ -54,7 +54,7 @@ public class RocketImPushManager { try { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) // .type(GroupMessageTypeEnum.ROCKET_ENERGY_LAUNCH) .data(status) .build() diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/activity/award/WeeklyRewardsSentManager.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/activity/award/WeeklyRewardsSentManager.java index c1b323c6..0ed63b74 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/activity/award/WeeklyRewardsSentManager.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/manager/activity/award/WeeklyRewardsSentManager.java @@ -116,7 +116,7 @@ public class WeeklyRewardsSentManager { log.warn("[execute] 每周奖励统一发送 start:{}", LocalDateTimeUtils.nowFormat("yyyy-MM-dd")); - List list = List.of(SysOriginPlatformEnum.LIKEI); + List list = List.of(SysOriginPlatformEnum.BZIZI); list.forEach(sysOriginPlatformEnum -> { @@ -211,7 +211,7 @@ public class WeeklyRewardsSentManager { Long activityId = activityConfigDTO.getId(); String lastWeekDate = getLastWeekDate(); - String sysOrigin = SysOriginPlatformEnum.LIKEI.name(); + String sysOrigin = SysOriginPlatformEnum.BZIZI.name(); // 获取枚举 RankingCycleType cycleType = RankingCycleType.WEEKLY; // 4. 获取奖励配置并更新 @@ -227,15 +227,15 @@ public class WeeklyRewardsSentManager { // 发放活动奖励 if (isKingGames(activityConfigDTO)) { - sendCustomRankingActivityRewards(SysOriginPlatformEnum.LIKEI, activityId, records, kingRewardList); + sendCustomRankingActivityRewards(SysOriginPlatformEnum.BZIZI, activityId, records, kingRewardList); } if (isRamadan(activityConfigDTO)) { - sendRamadanRankingActivityRewards(SysOriginPlatformEnum.LIKEI, activityId, records, kingRewardList); + sendRamadanRankingActivityRewards(SysOriginPlatformEnum.BZIZI, activityId, records, kingRewardList); } else { - sendRankingActivityRewards(SysOriginPlatformEnum.LIKEI, activityId, records, kingRewardList); + sendRankingActivityRewards(SysOriginPlatformEnum.BZIZI, activityId, records, kingRewardList); } log.info("上周{}活动奖励发放完成, 活动ID: {}", activityConfigDTO.getRemark(), activityId); @@ -436,7 +436,7 @@ public class WeeklyRewardsSentManager { private ActivityConfigDTO getActivityConfig(Long templateId, String activityType) { try { ActivityConfigBackQryCmd query = new ActivityConfigBackQryCmd(); - query.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + query.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); query.setTemplateId(templateId); return ResponseAssert.requiredSuccess(sysActivityConfigClient.effectiveActivityByTemplate(templateId, activityType)); } catch (Exception e) { diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DailyTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DailyTask.java index 2b9af865..e30fbc68 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DailyTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/DailyTask.java @@ -35,7 +35,7 @@ import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; -import static com.red.circle.common.business.core.enums.SysOriginPlatformEnum.LIKEI; +import static com.red.circle.common.business.core.enums.SysOriginPlatformEnum.BZIZI; /** * 每日任务数据. @@ -70,7 +70,7 @@ public class DailyTask { String yesterdayCycleKey = ZonedDateTimeUtils.getAsiaRiyadhYesterday().toString(); RankingListQueryCmd cmd = new RankingListQueryCmd(); - cmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + cmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); cmd.setCycleKey(yesterdayCycleKey); List top3 = kingGamesDailyTopThreeQryExe.execute(cmd); @@ -98,7 +98,7 @@ public class DailyTask { .userId(user.getUserId()) .amount(PennyAmount.ofDollar(reward)) .eventId(eventId) - .sysOrigin(LIKEI) + .sysOrigin(BZIZI) .origin(GoldOrigin.GAME_KING_AWARD) .build()); log.info("[GameKingDaily] 发放成功 userId={} rank={} reward={}", user.getUserId(), user.getRank(), reward); @@ -125,7 +125,7 @@ public class DailyTask { ImmutableKeyValuePair valuePair = ImmutableKeyValuePair.of("PURCHASE_NOBLE_VIP_GIVEAWAY", "Give Noble"); try { - List propsStoreCommodities = propsStoreGateway.listReleaseStoreCommodity(LIKEI, PropsCommodityType.NOBLE_VIP); + List propsStoreCommodities = propsStoreGateway.listReleaseStoreCommodity(BZIZI, PropsCommodityType.NOBLE_VIP); // 按照VIP等级从大到小排序 List commodityList = propsStoreCommodities.stream() @@ -159,7 +159,7 @@ public class DailyTask { .appIncome() .userId(userId) .eventId(propsStoreCommodity.getId()) - .sysOrigin(LIKEI) + .sysOrigin(BZIZI) .origin(valuePair.getKey()) .originDescribe(valuePair.getValue()) .amount(propsStoreCommodity.getNobleVipAbility().getLoginRewardsAmount()) 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 02668f99..e081d9e0 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,7 +43,7 @@ public class DiamondToCoinsTask { @TaskCacheLock(key = "USER_SALARY_DIAMOND_BALANCE", expireSecond = 86400) public void diamondToCoins() { - Map userIdBalanceMap = salaryDiamondBalanceClient.mapBalanceBySysOrigin(SysOriginPlatformEnum.LIKEI.name()).getBody(); + Map userIdBalanceMap = salaryDiamondBalanceClient.mapBalanceBySysOrigin(SysOriginPlatformEnum.BZIZI.name()).getBody(); if (CollectionUtils.isEmpty(userIdBalanceMap)) { log.warn("【钻石转金币定时器】:LIKEI 系统不存在钻石余额数据"); return; diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/EmptyRoomCleanTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/EmptyRoomCleanTask.java index 55101958..853c6500 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/EmptyRoomCleanTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/EmptyRoomCleanTask.java @@ -37,7 +37,7 @@ public class EmptyRoomCleanTask { public void cleanEmptyRooms() { try { // 获取所有活跃房间 - List allRooms = activeVoiceRoomService.listDiscover(SysOriginPlatformEnum.LIKEI.name(),true,"",null,200); + List allRooms = activeVoiceRoomService.listDiscover(SysOriginPlatformEnum.BZIZI.name(),true,"",null,200); if (CollectionUtils.isEmpty(allRooms)) { return; } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java index dd22f024..1d06a50b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java @@ -132,7 +132,7 @@ public class RoomRedPacketExpireTask { .userId(userId) .amount(PennyAmount.ofDollar(remainAmount)) .eventId(packetId + "_refund") - .sysOrigin(SysOriginPlatformEnum.LIKEI) + .sysOrigin(SysOriginPlatformEnum.BZIZI) .origin(GoldOrigin.ROOM_RED_PACKET) .build(); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UpdateStartPageUserTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UpdateStartPageUserTask.java index 3943f0ab..e2cfdc1b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UpdateStartPageUserTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UpdateStartPageUserTask.java @@ -53,7 +53,7 @@ public class UpdateStartPageUserTask { log.warn("========== 更新启动页用户定时任务开始 =========="); try { - String sysOrigin = SysOriginPlatformEnum.LIKEI.name(); + String sysOrigin = SysOriginPlatformEnum.BZIZI.name(); String lastWeekDate = getLastWeekDate(); Long topUserId = getLastWeekTopUser(sysOrigin, lastWeekDate); @@ -85,7 +85,7 @@ public class UpdateStartPageUserTask { long startTime = System.currentTimeMillis(); try { - String sysOrigin = SysOriginPlatformEnum.LIKEI.name(); + String sysOrigin = SysOriginPlatformEnum.BZIZI.name(); List topList = weekCpValueCountService.listLastWeekTop(sysOrigin, 1); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UserRedPacketExpireTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UserRedPacketExpireTask.java index 49b9f5a3..30c05821 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UserRedPacketExpireTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/UserRedPacketExpireTask.java @@ -107,7 +107,7 @@ public class UserRedPacketExpireTask { .userId(userId) .amount(PennyAmount.ofDollar(amount)) .eventId(packetId + "_refund") - .sysOrigin("LIKEI") + .sysOrigin("BZIZI") .origin(GoldOrigin.USER_RED_PACKET) .build(); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/GameKingRewardTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/GameKingRewardTask.java index 11026973..e741d002 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/GameKingRewardTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/GameKingRewardTask.java @@ -53,7 +53,7 @@ public class GameKingRewardTask { cmd.setCycleKey(ZonedDateTimeAsiaRiyadhUtils.nowWeekMondayToInt().toString()); cmd.setActivityType(RankingActivityType.KING_GAMES.getCode()); cmd.setTemplateId("2001207026499137537"); - cmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + cmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); RankingListQueryCmd top4Cmd = new RankingListQueryCmd(); top4Cmd.setActivityType(cmd.getActivityType()); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/RamadanRankingBadgeTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/RamadanRankingBadgeTask.java index c03b0051..a5915221 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/RamadanRankingBadgeTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/RamadanRankingBadgeTask.java @@ -48,7 +48,7 @@ public class RamadanRankingBadgeTask { try { // 获取前十名 List top10 = rankingActivityGateway.getRankingList( - SysOriginPlatformEnum.LIKEI.name(), + SysOriginPlatformEnum.BZIZI.name(), RankingActivityType.RAMADAN, RankingCycleType.WEEKLY, ZonedDateTimeAsiaRiyadhUtils.nowWeekMondayToInt().toString(), diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/SpringFestivalRechargeRewardTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/SpringFestivalRechargeRewardTask.java index dbec878a..6457e9b5 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/SpringFestivalRechargeRewardTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/activity/SpringFestivalRechargeRewardTask.java @@ -63,7 +63,7 @@ public class SpringFestivalRechargeRewardTask { propsActivityClient.sendActivityReward(new SendActivityRewardCmd() .setTrackId(ACTIVITY_ID) .setOrigin(SendPropsOrigin.RANKING_ACTIVITY) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setSourceGroupId(rewardGroupId) .setAcceptUserId(userId) ); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingBadgeTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingBadgeTask.java index e1fd0f4a..015319c0 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingBadgeTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingBadgeTask.java @@ -49,7 +49,7 @@ public class CpRankingBadgeTask { public void sendWeekRankingReward() { try { // 1. 获取本周前三名CP对 - List thisWeekTop3 = weekCpValueCountService.listThisWeekTop(SysOriginPlatformEnum.LIKEI.name(), 3); + List thisWeekTop3 = weekCpValueCountService.listThisWeekTop(SysOriginPlatformEnum.BZIZI.name(), 3); if (CollectionUtils.isEmpty(thisWeekTop3)) { log.warn("CP排名徽章任务:本周前三名数据为空"); return; diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingRewardTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingRewardTask.java index b25c89f5..eb479357 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingRewardTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/cp/CpRankingRewardTask.java @@ -36,7 +36,7 @@ public class CpRankingRewardTask { log.warn("========== CP周榜奖励发放定时任务开始 =========="); try { - List platforms = List.of(SysOriginPlatformEnum.LIKEI); + List platforms = List.of(SysOriginPlatformEnum.BZIZI); int successCount = 0; int errorCount = 0; @@ -83,7 +83,7 @@ public class CpRankingRewardTask { log.warn("========== 检测到赛季切换,开始发放上赛季奖励 =========="); log.warn("[CP赛季榜] 赛季切换: {} -> {}", lastSeasonCycleKey, currentSeasonCycleKey); - List platforms = List.of(SysOriginPlatformEnum.LIKEI); + List platforms = List.of(SysOriginPlatformEnum.BZIZI); int successCount = 0; int errorCount = 0; diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/AdminSalarySettlementServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/AdminSalarySettlementServiceImpl.java index e261cbf9..ecaad1a4 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/AdminSalarySettlementServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/AdminSalarySettlementServiceImpl.java @@ -106,7 +106,7 @@ public class AdminSalarySettlementServiceImpl implements AdminSalarySettlementSe AdminSalarySettlementRecord record = new AdminSalarySettlementRecord(); record.setId(IdWorkerUtils.getIdStr()); record.setTimeId(IdWorkerUtils.getId()); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setAdminUserId(adminUserId); record.setBillBelong(billBelong); record.setBillTitle(billTitle); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdLeaderSalarySettlementServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdLeaderSalarySettlementServiceImpl.java index 3296f46f..ad0c7279 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdLeaderSalarySettlementServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdLeaderSalarySettlementServiceImpl.java @@ -121,7 +121,7 @@ public class BdLeaderSalarySettlementServiceImpl implements BdLeaderSalarySettle BdLeaderSalarySettlementRecord record = new BdLeaderSalarySettlementRecord(); record.setId(IdWorkerUtils.getIdStr()); record.setTimeId(IdWorkerUtils.getId()); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setBdLeaderUserId(bdLeaderUserId); record.setBillBelong(billBelong); record.setBillTitle(billTitle); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdSalarySettlementServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdSalarySettlementServiceImpl.java index 9fb3b0b4..f66067db 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdSalarySettlementServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/BdSalarySettlementServiceImpl.java @@ -243,7 +243,7 @@ public class BdSalarySettlementServiceImpl implements BdSalarySettlementService ResultResponse> response = inAppPurchaseDetailsClientApi.batchUserRechargeStatistics( new ArrayList<>(allUserIds), - SysOriginPlatformEnum.LIKEI.name(), + SysOriginPlatformEnum.BZIZI.name(), startTime, endTime ); @@ -352,7 +352,7 @@ public class BdSalarySettlementServiceImpl implements BdSalarySettlementService ResultResponse> response = inAppPurchaseDetailsClientApi.batchUserRechargeStatistics( userIds, - SysOriginPlatformEnum.LIKEI.name(), + SysOriginPlatformEnum.BZIZI.name(), startTime, endTime ); @@ -387,7 +387,7 @@ public class BdSalarySettlementServiceImpl implements BdSalarySettlementService BdSalarySettlementRecord record = new BdSalarySettlementRecord(); record.setId(IdWorkerUtils.getIdStr()); record.setTimeId(IdWorkerUtils.getId()); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setBdUserId(bdUserId); record.setBillBelong(billBelong); record.setBillTitle(billTitle); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameActivityService.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameActivityService.java index 20982432..1f036003 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameActivityService.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameActivityService.java @@ -81,7 +81,7 @@ public class GameActivityService { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(rewardAmount); receiverCmd.setBizNo(gameId); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java index fc13122d..be456fc5 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java @@ -285,7 +285,7 @@ public class GameBaishunServiceImpl implements GameBaishunService { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.GAME_BAISHUN_WIN) .data(build) .build() @@ -322,7 +322,7 @@ public class GameBaishunServiceImpl implements GameBaishunService { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(request.getCurrencyDiff()); receiverCmd.setBizNo(request.getGameRoundId()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); //游戏王日榜 diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java index 87756370..d5b4fc90 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java @@ -391,7 +391,7 @@ public class HotGameServiceImpl implements HotGameService { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(request.getCoin()); receiverCmd.setBizNo(request.getGameId()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); } } @@ -431,7 +431,7 @@ public class HotGameServiceImpl implements HotGameService { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(param.getCoin()); receiverCmd.setBizNo(param.getGameId()); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); //游戏王日榜 @@ -460,7 +460,7 @@ public class HotGameServiceImpl implements HotGameService { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.GAME_BAISHUN_WIN) .data(build) .build() diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java index cde85452..ef5d9d05 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java @@ -286,7 +286,7 @@ public class YomiGameServiceImpl implements YomiGameService { return; } - BigDecimal cost = enumConfigCacheService.getValueBigDecimal(EnumConfigKey.GAME_BROADCAST_AMOUNT, SysOriginPlatformEnum.LIKEI.name()) ; + BigDecimal cost = enumConfigCacheService.getValueBigDecimal(EnumConfigKey.GAME_BROADCAST_AMOUNT, SysOriginPlatformEnum.BZIZI.name()) ; int thresholdAmount = Optional.ofNullable(cost).orElse(new BigDecimal("5000")).intValue(); if (rewardAmount < thresholdAmount) { return; @@ -300,7 +300,7 @@ public class YomiGameServiceImpl implements YomiGameService { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.GAME_BAISHUN_WIN) .data(build) .build() @@ -333,7 +333,7 @@ public class YomiGameServiceImpl implements YomiGameService { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(rewardAmount.longValue()); receiverCmd.setBizNo(gameId); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); //游戏王日榜 diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/props/PropsSendCommon.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/props/PropsSendCommon.java index f0c86ff2..e98df550 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/props/PropsSendCommon.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/common/props/PropsSendCommon.java @@ -267,7 +267,7 @@ public class PropsSendCommon { Map map = new HashMap<>(); map.put("propType", conf.getDetailType()); if (BadgeConfigTypeEnum.of(conf.getDetailType())) { - BadgePictureConfig badgePictureConfig = badgePictureConfigService.getByBadgeId(SysOriginPlatformEnum.LIKEI.name(), propsId); + BadgePictureConfig badgePictureConfig = badgePictureConfigService.getByBadgeId(SysOriginPlatformEnum.BZIZI.name(), propsId); url = badgePictureConfig != null ? badgePictureConfig.getSelectUrl() : ""; } officialNoticeClient.send( diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/InviteUserGatewayImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/InviteUserGatewayImpl.java index e8ed43a7..6e2fa0f2 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/InviteUserGatewayImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/InviteUserGatewayImpl.java @@ -135,7 +135,7 @@ public class InviteUserGatewayImpl implements InviteUserGateway { private void recordRanking(Long userId, Long quantity) { RankingActivityRecord record = new RankingActivityRecord(); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setUserId(userId); record.setUserSex(1); record.setActivityType(RankingActivityType.INVITE); diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserProfileGatewayImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserProfileGatewayImpl.java index 95603ec6..4c83e2c2 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserProfileGatewayImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserProfileGatewayImpl.java @@ -527,7 +527,7 @@ public class UserProfileGatewayImpl implements UserProfileGateway { } private boolean inWhiteList(Long userId) { - EnumConfigDTO configDTO = enumConfigCacheService.getByCode("LOGIN_WHITE_CONFIG", "LIKEI"); + EnumConfigDTO configDTO = enumConfigCacheService.getByCode("LOGIN_WHITE_CONFIG", "BZIZI"); String whiteConfig = Optional.ofNullable(configDTO).map(EnumConfigDTO::getVal).orElse(null); UserProfile userProfile = getByUserId(userId); if (whiteConfig == null || userProfile == null) { diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/sys/impl/NoticeMessageClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/sys/impl/NoticeMessageClientServiceImpl.java index 125e6304..18c2eeb9 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/sys/impl/NoticeMessageClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/sys/impl/NoticeMessageClientServiceImpl.java @@ -155,7 +155,7 @@ public class NoticeMessageClientServiceImpl implements NoticeMessageClientServic // 发送IM群组广播 imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type("notification".equals(noticeMessage.getType()) ? GroupMessageTypeEnum.SYS_ANNOUNCEMENT : GroupMessageTypeEnum.SYS_ACTIVITY) .data(publicMessage) .build()); diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/BdTeamInfoClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/BdTeamInfoClientServiceImpl.java index e5389b4c..2ae0b38f 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/BdTeamInfoClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/BdTeamInfoClientServiceImpl.java @@ -147,7 +147,7 @@ public class BdTeamInfoClientServiceImpl implements BdTeamInfoClientService { } // 校验新BD Leader是否存在 - UserProfile userProfile = userProfileGateway.getByAccount(SysOriginPlatformEnum.LIKEI.name(), String.valueOf(cmd.getNewAccount())); + UserProfile userProfile = userProfileGateway.getByAccount(SysOriginPlatformEnum.BZIZI.name(), String.valueOf(cmd.getNewAccount())); if (userProfile == null) { throw new RuntimeException("用户不存在"); } diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/InviteUserClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/InviteUserClientServiceImpl.java index 2674990b..fe731c73 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/InviteUserClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/InviteUserClientServiceImpl.java @@ -179,7 +179,7 @@ public class InviteUserClientServiceImpl implements InviteUserClientService { .build()); inviteUserSummaryService.incrCommission(result.getInviterUserId(), BigDecimal.valueOf(gold)); - inviteUserRechargeCommissionService.add(SysOriginPlatformEnum.LIKEI.name(), result.getInviterUserId(), + inviteUserRechargeCommissionService.add(SysOriginPlatformEnum.BZIZI.name(), result.getInviterUserId(), result.getInviteeUserId(), BigDecimal.valueOf(gold)); recordRanking(result.getInviterUserId(), gold); @@ -187,7 +187,7 @@ public class InviteUserClientServiceImpl implements InviteUserClientService { // 道具奖励发给被邀请人B propsActivityClient.sendActivityReward(new SendActivityRewardCmd() .setTrackId(IdWorkerUtils.getId()) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setAcceptUserId(result.getInviteeUserId()) .setSourceGroupId(propsId) .setOrigin(SendPropsOrigin.RECHARGE_7DAY) @@ -198,7 +198,7 @@ public class InviteUserClientServiceImpl implements InviteUserClientService { private void recordRanking(Long userId, Long quantity) { RankingActivityRecord record = new RankingActivityRecord(); - record.setSysOrigin(SysOriginPlatformEnum.LIKEI.name()); + record.setSysOrigin(SysOriginPlatformEnum.BZIZI.name()); record.setUserId(userId); record.setUserSex(1); record.setActivityType(RankingActivityType.INVITE); diff --git a/rc-service/rc-service-other/other-start/src/test/java/AnchorTargetTest.java b/rc-service/rc-service-other/other-start/src/test/java/AnchorTargetTest.java index e71f3baf..332798a5 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/AnchorTargetTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/AnchorTargetTest.java @@ -45,7 +45,7 @@ public class AnchorTargetTest { TeamMemberWorkQryCmd cmd = new TeamMemberWorkQryCmd(); cmd.setMemberUserId(userId); - cmd.setSysOrigin("LIKEI"); + cmd.setSysOrigin("BZIZI"); List execute = listMemberWorkDecay.execute(cmd); // 1. 筛选 billStatus = UNPAID 的数据 @@ -129,7 +129,7 @@ public class AnchorTargetTest { // 将account转换为userId并构建batchDeductMap Map batchDeductMap = new HashMap<>(); map.forEach((account, amount) -> { - UserProfile userProfile = userProfileGateway.getByAccount("LIKEI", String.valueOf(account)); + UserProfile userProfile = userProfileGateway.getByAccount("BZIZI", String.valueOf(account)); if (Objects.nonNull(userProfile)) { batchDeductMap.put(userProfile.getId(), amount); } else { @@ -209,7 +209,7 @@ public class AnchorTargetTest { private boolean deductSingleAnchorTarget(Long userId, Long deductValue) { TeamMemberWorkQryCmd cmd = new TeamMemberWorkQryCmd(); cmd.setMemberUserId(userId); - cmd.setSysOrigin("LIKEI"); + cmd.setSysOrigin("BZIZI"); List execute = listMemberWorkDecay.execute(cmd); // 1. 筛选 billStatus = UNPAID 的数据 diff --git a/rc-service/rc-service-other/other-start/src/test/java/BdSettlementTest.java b/rc-service/rc-service-other/other-start/src/test/java/BdSettlementTest.java index 2f8ed41f..e4a72b9f 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/BdSettlementTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/BdSettlementTest.java @@ -75,7 +75,7 @@ public class BdSettlementTest { // Long bdUserId = 1963790037740466178L; // BdSalarySettlementRecord bdSalarySettlementRecord = new BdSalarySettlementRecord(); // bdSalarySettlementRecord.setBillBelong(20251116); -// bdSalarySettlementRecord.setSysOrigin("LIKEI"); +// bdSalarySettlementRecord.setSysOrigin("BZIZI"); // bdSalarySettlementRecord.setSettlementSalary(new BigDecimal(111)); // bdSalarySettlementRecord.setId(IdWorkerUtils.getIdStr()); // issueSalary(bdUserId, bdSalarySettlementRecord); @@ -84,7 +84,7 @@ public class BdSettlementTest { Long bdLeaderUserId = 1963790037740466178L; BdLeaderSalarySettlementRecord bdLeaderSalarySettlementRecord = new BdLeaderSalarySettlementRecord(); bdLeaderSalarySettlementRecord.setBillBelong(20251116); - bdLeaderSalarySettlementRecord.setSysOrigin("LIKEI"); + bdLeaderSalarySettlementRecord.setSysOrigin("BZIZI"); bdLeaderSalarySettlementRecord.setSettlementSalary(new BigDecimal(2)); bdLeaderSalarySettlementRecord.setId(IdWorkerUtils.getIdStr()); issueSalary(bdLeaderUserId, bdLeaderSalarySettlementRecord); diff --git a/rc-service/rc-service-other/other-start/src/test/java/DailTaskTest.java b/rc-service/rc-service-other/other-start/src/test/java/DailTaskTest.java index eb7ca0e3..c1933701 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/DailTaskTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/DailTaskTest.java @@ -118,7 +118,7 @@ public class DailTaskTest { propsActivityClient.sendActivityReward(new SendActivityRewardCmd() .setTrackId(activityId) .setOrigin(SendPropsOrigin.RANKING_ACTIVITY) - .setSysOrigin(SysOriginPlatformEnum.LIKEI) + .setSysOrigin(SysOriginPlatformEnum.BZIZI) .setSourceGroupId(1995472724921741314L) .setAcceptUserId(userId) ); diff --git a/rc-service/rc-service-other/other-start/src/test/java/SpringTest.java b/rc-service/rc-service-other/other-start/src/test/java/SpringTest.java index 664b51da..a8a57737 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/SpringTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/SpringTest.java @@ -108,7 +108,7 @@ public class SpringTest { @Test public void testActivityRuleConfig() { - List rewardList = singleGroupRewardPoolCommon.listRewardProps("LIKEI", PropsActivityTypeEnum.CONSUMPTION_ACTIVITY); + List rewardList = singleGroupRewardPoolCommon.listRewardProps("BZIZI", PropsActivityTypeEnum.CONSUMPTION_ACTIVITY); System.out.println(rewardList); } @@ -121,7 +121,7 @@ public class SpringTest { @Test public void testCompletedFirstCharge() { - completedFirstCharge(1957345312961527809L, "LIKEI"); + completedFirstCharge(1957345312961527809L, "BZIZI"); } private void completedFirstCharge(Long userId, String sysOrigin) { @@ -152,7 +152,7 @@ public class SpringTest { public void testGameRanking() { String gameId = "1083"; - GameListConfig gameListConfig = gameListConfigService.getByGameId(gameId, GameOriginEnum.BAISHUN.name(), "LIKEI"); + GameListConfig gameListConfig = gameListConfigService.getByGameId(gameId, GameOriginEnum.BAISHUN.name(), "BZIZI"); GameRankingIncrementCmd build = GameRankingIncrementCmd.builder() .gameOrigin(GameOriginEnum.BAISHUN.name()) @@ -177,7 +177,7 @@ public class SpringTest { receiverCmd.setDimension(RankingDimension.GAME_WIN.getCode()); receiverCmd.setIncrementQuantity(111L); receiverCmd.setBizNo("3243k1od"); - receiverCmd.setReqSysOrigin(ReqSysOrigin.of("LIKEI")); + receiverCmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); rankingActivityService.accumulateRankingData(receiverCmd); } @@ -207,7 +207,7 @@ public class SpringTest { UserProfileDTO userProfile = userProfileAppConvertor.toUserProfileDTO( userProfileGateway.getByUserId(DataTypeUtils.toLong(userId))); - GameListConfig gameListConfig = gameListConfigService.getByGameId("1090", GameOriginEnum.LINGXIAN.name(), "LIKEI"); + GameListConfig gameListConfig = gameListConfigService.getByGameId("1090", GameOriginEnum.LINGXIAN.name(), "BZIZI"); if (Objects.nonNull(gameListConfig)) { Map build = OfficialNoticeUtils.buildUserProfile(userProfile); build.put("gameUrl", gameListConfig.getCover()); @@ -215,7 +215,7 @@ public class SpringTest { imGroupClient.sendMessageBroadcast( BroadcastGroupMsgBodyCmd.builder() - .toPlatform(SysOriginPlatformEnum.LIKEI) + .toPlatform(SysOriginPlatformEnum.BZIZI) .type(GroupMessageTypeEnum.GAME_BAISHUN_WIN) .data(build) .build() diff --git a/rc-service/rc-service-other/other-start/src/test/java/TeamMonthBillTest.java b/rc-service/rc-service-other/other-start/src/test/java/TeamMonthBillTest.java index e486e6c0..a92a4233 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/TeamMonthBillTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/TeamMonthBillTest.java @@ -102,7 +102,7 @@ public class TeamMonthBillTest { TeamProfile teamProfile = teamProfileService.getById(teamId); TeamBillCycle teamBillCycle = new TeamBillCycle(); - teamBillCycle.setSysOrigin("LIKEI"); + teamBillCycle.setSysOrigin("BZIZI"); teamBillCycle.setRegion(teamProfile.getRegion()); teamBillCycle.setBillBelong(billBelong); teamBillCycle.setTeamId(teamId); @@ -183,12 +183,12 @@ public class TeamMonthBillTest { @Test public void weeklyRewardsSent() { - weeklyRewardsSentManager.sendLastWeekStarV1(SysOriginPlatformEnum.LIKEI); + weeklyRewardsSentManager.sendLastWeekStarV1(SysOriginPlatformEnum.BZIZI); } @Test public void weeklyKingQueenSent() { - weeklyRewardsSentManager.sendLastWeekKingQueen(SysOriginPlatformEnum.LIKEI); + weeklyRewardsSentManager.sendLastWeekKingQueen(SysOriginPlatformEnum.BZIZI); } } diff --git a/rc-service/rc-service-other/other-start/src/test/java/TeamToFamilyScript.java b/rc-service/rc-service-other/other-start/src/test/java/TeamToFamilyScript.java index 381146a7..db3fb9f5 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/TeamToFamilyScript.java +++ b/rc-service/rc-service-other/other-start/src/test/java/TeamToFamilyScript.java @@ -65,7 +65,7 @@ public class TeamToFamilyScript { /** * 系统来源 */ - private static final String SYS_ORIGIN = "LIKEI"; + private static final String SYS_ORIGIN = "BZIZI"; /** * 默认家族等级 diff --git a/rc-service/rc-service-other/other-start/src/test/java/activity/CpRankingRewardTest.java b/rc-service/rc-service-other/other-start/src/test/java/activity/CpRankingRewardTest.java index e9225ec4..0591c752 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/activity/CpRankingRewardTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/activity/CpRankingRewardTest.java @@ -32,7 +32,7 @@ public class CpRankingRewardTest { log.info("========== 开始测试发送上周周榜前三奖励 =========="); try { - SysOriginPlatformEnum platform = SysOriginPlatformEnum.LIKEI; + SysOriginPlatformEnum platform = SysOriginPlatformEnum.BZIZI; cpRankingRewardManager.sendLastWeekTopReward(platform); @@ -50,7 +50,7 @@ public class CpRankingRewardTest { log.info("========== 开始测试发送上赛季前三奖励 =========="); try { - SysOriginPlatformEnum platform = SysOriginPlatformEnum.LIKEI; + SysOriginPlatformEnum platform = SysOriginPlatformEnum.BZIZI; cpRankingRewardTask.sendSeasonRankingReward(); diff --git a/rc-service/rc-service-other/other-start/src/test/java/statistics/GiftStatisticsTest.java b/rc-service/rc-service-other/other-start/src/test/java/statistics/GiftStatisticsTest.java index 5add183c..c17ccaff 100644 --- a/rc-service/rc-service-other/other-start/src/test/java/statistics/GiftStatisticsTest.java +++ b/rc-service/rc-service-other/other-start/src/test/java/statistics/GiftStatisticsTest.java @@ -142,7 +142,7 @@ public class GiftStatisticsTest { public void testUserGiftStatisticsBySysOrigin() { // TODO: 修改参数 Long targetUserId = 1234567890L; - String sysOrigin = "LIKEI"; // 系统来源 + String sysOrigin = "BZIZI"; // 系统来源 Query query = new Query(); query.addCriteria(Criteria.where("acceptUsers.acceptUserId").is(targetUserId)); 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 bedb2b80..039424c2 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 @@ -24,6 +24,7 @@ public enum FreightGoldToUsdRatioEnum { */ YOLO(6000), LIKEI(10000), + BZIZI(10000), 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 f1a3f687..f5cedc59 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("LIKEI")); + cmd.setReqSysOrigin(ReqSysOrigin.of("BZIZI")); log.warn("【钻石转金币定时器】用户-{} 自动兑换金币量 {}", userId, cmd); try { userBankExchangeGoldCmdExe.executeDiamond(cmd);