gerson
2025-01-21 c9071fc1d8ae01496f4715adda6989a71b503a3d
src/stores/chatRoom.ts
@@ -7,6 +7,9 @@
import { gotoRoute } from '../utils/route';
import { Local } from '../utils/storage';
import { PingLogin } from '../api/system';
import { SSEClient } from '../utils/sse/SSEClient';
import { accessSessionKey } from '../utils/request';
import { MAIN_URL } from '../constants';
/**
 * Room 关联的一些配置
@@ -240,8 +243,6 @@
   });
};
export const pingLogin = async () => {
   // 5分钟
   const interval = 1000 * 60 * 5;
@@ -255,3 +256,5 @@
   }, interval);
   return timer;
};