|
|
@@ -15,13 +15,11 @@ import cn.qinys.platform.mobile.resp.UserWishSummaryResp;
|
|
|
import cn.qinys.platform.mobile.service.LoginService;
|
|
|
import jakarta.annotation.Resource;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.aspectj.apache.bcel.generic.RET;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.Map;
|
|
|
import java.util.UUID;
|
|
|
-import java.util.concurrent.ThreadLocalRandom;
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
|
|
/**
|
|
|
@@ -88,9 +86,13 @@ public class LoginServiceImpl extends AbstractLoginService implements LoginServi
|
|
|
|
|
|
@Override
|
|
|
public void logout() {
|
|
|
- LoginUserInfo currentUserInfo = CurrentUtils.getCurrentUserInfo();
|
|
|
- this.kicKOut(currentUserInfo.getWxId());
|
|
|
- log.info("user logout: {}", currentUserInfo);
|
|
|
+ try {
|
|
|
+ LoginUserInfo currentUserInfo = CurrentUtils.getCurrentUserInfo();
|
|
|
+ this.kicKOut(currentUserInfo.getWxId());
|
|
|
+ log.info("user logout: {}", currentUserInfo);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("user logout", e);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Override
|