<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ``` /** * 每次被頂下線時觸發 */ @Override public void doReplaced(String loginType, Object loginId, String tokenValue) { System.out.println("<被頂下線>監聽器:" + "用戶:" + loginId); // 獲取參數 SatokenUser satokenUser = SatokenUserRedisCache.getSatokenUserByToken(tokenValue); // 判斷 if (ObjectUtil.isNotNull(satokenUser)) { // 強制注銷 StpUtil.logout(satokenUser.getUserId(), satokenUser.getLoginShebeiType()); // 刪除redis緩存 SatokenUserRedisCache.delByToken(tokenValue); // 創建WebSocket消息模型對象 WebSocketMsgModel webSocketMsg = new WebSocketMsgModel(); // 賦值 webSocketMsg.setSendUserId(IdWorker.getIdStr()); webSocketMsg.setSendTime(DateUtil.now()); webSocketMsg.setToUserId(Convert.toStr(satokenUser.getUserId())); webSocketMsg.setMsgTitle("賬號多地同時登錄"); webSocketMsg.setMsgType(MsgTypeEnum.ACCOUNT_DUODI_LOGIN.getCode()); webSocketMsg.setMsgContent("系統檢測到:您的賬號存在多處登錄,為了賬號安全請您及時檢查或修改密碼"); webSocketMsg.setExtraInfo(tokenValue); // webSocket發送通知 WebSocketUtil.sendToUser(JSONUtil.toJsonStr(webSocketMsg)); } }
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看