From 814b6fdf764834b758166c71acc5ad06b8cad2d8 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 28 Nov 2025 11:34:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E6=B8=B8=E8=BF=94=E5=9B=9E=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../game/party3rd/HotGameRestController.java | 1 + .../app/service/game/HotGameServiceImpl.java | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/HotGameRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/HotGameRestController.java index 15cc687f..f950da81 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/HotGameRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/HotGameRestController.java @@ -102,6 +102,7 @@ public class HotGameRestController { HotGameResponse res = new HotGameResponse<>(); res.setData(new HotGameCoinVO().setCoin(data.getBalanceCoin()).setResponseId(IdWorkerUtils.getIdStr())); + res.setErrorCode(HotGameErrorEnum.SUCCESS.getErrorCode()); return res; } 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 49e433a4..57963731 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 @@ -197,15 +197,15 @@ public class HotGameServiceImpl implements HotGameService { log.error("ex:{}", Throwables.getStackTraceAsString(ex)); } //游玩一句游戏结束 每日任务 热游 - taskMqMessage.sendTask(TaskApprovalEvent.builder() - .taskId(4) - .userId(userId) - .day(LocalDateTimeUtils.nowFormat("yyyy-MM-dd")) - .currencyDiff(param.getCoin()) - .sysOrigin(UserCredential.parseToken(param.getToken()).getSysOrigin()) - .gameName(GoldOrigin.HOT_GAME.name()) - .gameId(Long.parseLong(param.getGameId())) - .build()); +// taskMqMessage.sendTask(TaskApprovalEvent.builder() +// .taskId(4) +// .userId(userId) +// .day(LocalDateTimeUtils.nowFormat("yyyy-MM-dd")) +// .currencyDiff(param.getCoin()) +// .sysOrigin(UserCredential.parseToken(param.getToken()).getSysOrigin()) +// .gameName(GoldOrigin.HOT_GAME.name()) +// .gameId(Long.parseLong(param.getGameId())) +// .build()); return new HotGameResponse() .setErrorCode(HotGameErrorEnum.SERVER_ERROR.getErrorCode());