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 4162d643..ca966086 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 @@ -194,6 +194,7 @@ public class GameHkysRestController { .gameId(gameListConfig.getGameId()) .gameName(gameListConfig.getName()) .gameCover(gameListConfig.getCover()) + .gameUrl(gameListConfig.getGameCode()) .sysOrigin(gameListConfig.getSysOrigin()) .amount(request.getCoin()) .periodType("ALL") diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/game/GameRankingConvertor.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/game/GameRankingConvertor.java index 3ad05d3b..7dc4fccf 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/game/GameRankingConvertor.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/game/GameRankingConvertor.java @@ -25,6 +25,7 @@ public class GameRankingConvertor { co.setGameId(record.getGameId()); co.setGameName(record.getGameName()); co.setGameCover(record.getGameCover()); + co.setGameUrl(record.getGameUrl()); co.setGameOrigin(record.getGameOrigin()); co.setSysOrigin(record.getSysOrigin()); co.setTotalPrizeAmount(record.getTotalPrizeAmount()); 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 d0167bcb..11d8517d 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 @@ -262,6 +262,7 @@ public class GameBaishunServiceImpl implements GameBaishunService { .gameId(gameListConfig.getGameId()) .gameName(gameListConfig.getName()) .gameCover(gameListConfig.getCover()) + .gameUrl(gameListConfig.getGameCode()) .sysOrigin(gameListConfig.getSysOrigin()) .amount(request.getCurrencyDiff()) .periodType("ALL") 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 ad4b25b2..fd015a3c 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 @@ -239,6 +239,7 @@ public class HotGameServiceImpl implements HotGameService { .gameId(gameListConfig.getGameId()) .gameName(gameListConfig.getName()) .gameCover(gameListConfig.getCover()) + .gameUrl(gameListConfig.getGameCode()) .sysOrigin(gameListConfig.getSysOrigin()) .amount(request.getCoin()) .periodType("ALL") diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GameRankingCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GameRankingCO.java index 32c37f6a..e198e61e 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GameRankingCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GameRankingCO.java @@ -30,6 +30,8 @@ public class GameRankingCO { */ private String gameCover; + private String gameUrl; + /** * 游戏源 */ diff --git a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingIncrementCmd.java b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingIncrementCmd.java index da8a5d5c..d63c3bbf 100644 --- a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingIncrementCmd.java +++ b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingIncrementCmd.java @@ -27,6 +27,11 @@ public class GameRankingIncrementCmd { */ private String gameOrigin; + /** + * 游戏地址 + */ + private String gameUrl; + /** * 游戏ID */ diff --git a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingRecord.java b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingRecord.java index 296a519e..02d39640 100644 --- a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingRecord.java +++ b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/game/GameRankingRecord.java @@ -40,6 +40,8 @@ public class GameRankingRecord { */ private String gameCover; + private String gameUrl; + /** * 周期类型:ALL-全部,WEEK-本周,MONTH-本月 */ diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/rank/GameRanking.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/rank/GameRanking.java index ce0c0e27..4e094090 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/rank/GameRanking.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/rank/GameRanking.java @@ -59,6 +59,8 @@ public class GameRanking { */ private String gameCover; + private String gameUrl; + /** * 周期类型:ALL-全部,WEEK-本周,MONTH-本月 */ diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/game/GameRankingGatewayImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/game/GameRankingGatewayImpl.java index 93c8cd38..37a86d93 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/game/GameRankingGatewayImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/game/GameRankingGatewayImpl.java @@ -82,6 +82,7 @@ public class GameRankingGatewayImpl implements GameRankingGateway { update.setOnInsert("gameId", cmd.getGameId()); update.setOnInsert("periodType", cmd.getPeriodType()); update.setOnInsert("gameCover", cmd.getGameCover()); + update.setOnInsert("gameUrl", cmd.getGameUrl()); update.setOnInsert("gameName", cmd.getGameName()); mongoTemplate.upsert(query, update, GameRanking.class); } @@ -97,6 +98,7 @@ public class GameRankingGatewayImpl implements GameRankingGateway { record.setGameId(entity.getGameId()); record.setGameName(entity.getGameName()); record.setGameCover(entity.getGameCover()); + record.setGameUrl(entity.getGameUrl()); record.setPeriodType(entity.getPeriodType()); record.setTotalPrizeAmount(entity.getTotalPrizeAmount()); return record;