From 882f5815e69bc9dc2270d8c9ecc94acbeecad4a3 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 26 Nov 2021 17:35:10 +0800 Subject: [PATCH] fix fish hit --- src/main/java/com/xcong/excoin/websocket/handler/FishHitWebSocketHandler.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/websocket/handler/FishHitWebSocketHandler.java b/src/main/java/com/xcong/excoin/websocket/handler/FishHitWebSocketHandler.java index 767cc63..87165a6 100644 --- a/src/main/java/com/xcong/excoin/websocket/handler/FishHitWebSocketHandler.java +++ b/src/main/java/com/xcong/excoin/websocket/handler/FishHitWebSocketHandler.java @@ -99,7 +99,7 @@ // 消耗金币 BigDecimal consume = (BigDecimal) fortObj; - MsgModel msg = new MsgModel(consume, fishGold, SID_MID.get(session.getId())); + MsgModel msg = new MsgModel(consume, fishGold, SID_MID.get(session.getId()), fortId); // 发送打渔消息 fishHitProducer.sendFishHitMsg(JSONObject.toJSONString(msg)); } -- Gitblit v1.9.1