From e83de6570b9c2d5a5b92761cf582eb1b9aaefe42 Mon Sep 17 00:00:00 2001 From: "Stormeye.Wu" Date: Mon, 22 Oct 2018 10:58:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=90=E9=95=BF=E5=80=BC][=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D]:=E7=99=BB=E5=BD=95=E6=88=90=E9=95=BF=E5=80=BC?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/iformall/controller/WxUserGrantController.java | 1 - .../java/com/iformall/service/impl/WxScoreRulesServiceImpl.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkCApi/src/main/java/com/iformall/controller/WxUserGrantController.java b/mallinkCApi/src/main/java/com/iformall/controller/WxUserGrantController.java index 3b042e9d3..d030f57c1 100755 --- a/mallinkCApi/src/main/java/com/iformall/controller/WxUserGrantController.java +++ b/mallinkCApi/src/main/java/com/iformall/controller/WxUserGrantController.java @@ -139,7 +139,6 @@ public class WxUserGrantController extends BaseController { user1.setExtraInfo(extraInfo.toJSONString()); wxCUserService.saveOrUpdate(user1); - // 成长值 try { wxCUserService.scoreCalculate(user1, false); diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java index 982ec41ac..68d007afa 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java @@ -136,6 +136,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { // 2. 增长的成长值 addScoreNumber = scoreRules.getLoginScoreNumber(); updateScore(user.getId(), addScoreNumber); + user.setScore(addScoreNumber); // 3. 记录历史 final IdWorker idWorker = IdWorker.get();