From 77997f8223e2a838bb6f8e722e1595b980d4bb60 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 18 Dec 2025 20:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BE=E9=A1=BA=E6=B8=B8=E6=88=8F=E6=B6=88?= =?UTF-8?q?=E8=80=97=E7=B1=BB=E5=9E=8B=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/service/game/HotGameServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a42d2f37..8f935138 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 @@ -258,7 +258,7 @@ public class HotGameServiceImpl implements HotGameService { } private void incGameRankingActivity(HotGameUserCoinUpdate param) { - if (param.getCoin() > 0) { + if (param.getType() != null && param.getType() == 2 && param.getCoin() > 0) { RankingDataUpdateCmd receiverCmd = new RankingDataUpdateCmd(); receiverCmd.setUserId(DataTypeUtils.toLong(param.getUid())); receiverCmd.setUserSex(1); @@ -284,7 +284,7 @@ public class HotGameServiceImpl implements HotGameService { cost = BigDecimal.valueOf(5000L); } - if (request.getCoin() >= cost.longValue()) { + if (request.getType() != null && request.getType() == 2 && request.getCoin() >= cost.longValue()) { UserProfileDTO userProfile = userProfileAppConvertor.toUserProfileDTO( userProfileGateway.getByUserId(DataTypeUtils.toLong(request.getUid())));