From 91e20d3e4e97fb169a472307c4c2c5be0177b626 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Tue, 30 Jun 2020 15:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1005921=E3=80=91=E3=80=90=E6=9C=88?= =?UTF-8?q?=E5=8D=A1=E4=BC=98=E5=8C=96=E3=80=91=E7=B4=AF=E8=AE=A1=E5=85=85?= =?UTF-8?q?=E5=80=BC30/98=E5=88=86=E5=88=AB=E8=B5=A0=E9=80=81=E6=9C=88?= =?UTF-8?q?=E5=8D=A1/=E8=B1=AA=E5=8D=8E=E6=9C=88=E5=8D=A1-=E5=90=8E?= =?UTF-8?q?=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/store/BuyGoodsLogic.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsLogic.java index c00ab96b2..f4d78bef7 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsLogic.java @@ -131,15 +131,14 @@ public class BuyGoodsLogic { if(sRechargeCommodityConfig.getAccumulativeRecharge() == 1){ - int totle=price+rechargeInfo.getSaveAmt(); int monthline = STableManager.getConfig(SMonthcardConfig.class).get(Global.MONTHCARDID).getPrice(); int lmonthline = STableManager.getConfig(SMonthcardConfig.class).get(Global.LMONTHCARDID).getPrice(); boolean sendneed =false; - if(rechargeInfo.getMonthSaveAmt()=monthline){ + if(rechargeInfo.getMonthSaveAmt()=monthline){ sendneed=true; user.getPlayerInfoManager().getMonthCard().put(Global.MONTHCARDID, (int) (System.currentTimeMillis() / 1000)); } - if(rechargeInfo.getSmonthSaveAmt()=lmonthline){ + if(rechargeInfo.getSmonthSaveAmt()=lmonthline){ sendneed=true; user.getPlayerInfoManager().getMonthCard().put(Global.LMONTHCARDID, (int) (System.currentTimeMillis() / 1000)); } @@ -212,6 +211,7 @@ public class BuyGoodsLogic { } rechargeInfo.setSaveAmt(price+saveAmt); user.getPlayerInfoManager().addRechargedaily(price); + user.getPlayerInfoManager().getMonthCard(); rechargeInfo.setMonthSaveAmt(price+rechargeInfo.getMonthSaveAmt()); rechargeInfo.setSmonthSaveAmt(price+rechargeInfo.getSmonthSaveAmt());