From 0b78fad8bb26d67878ef4d358bf56bfdab86ec64 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 24 Aug 2022 11:41:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=BB=9C=E8=AF=B7=E6=B1=82=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E6=8F=90=E7=A4=BA=E5=8E=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/common/manager/IMLoginManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java b/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java index 04afb4d85..2f9abb3a2 100644 --- a/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java +++ b/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java @@ -86,9 +86,10 @@ public class IMLoginManager extends BaseCacheManager { getString(KEY_USER_INFO), IMLoginModel.class); if (userInfo != null) token = userInfo.getToken(); + userInfo.setGiftEffect(getBoolean(GiftEffect, false)); + userInfo.setMountEffect(getBoolean(MountEffect, false)); } - userInfo.setGiftEffect(getBoolean(GiftEffect, false)); - userInfo.setMountEffect(getBoolean(MountEffect, false)); + return userInfo; }