后台:服务器维护
This commit is contained in:
@@ -17,7 +17,7 @@ import { getRandSingleEelm } from '../pubUtils/util';
|
||||
*/
|
||||
export async function initAllRank() {
|
||||
console.log('******* initAllRank ******')
|
||||
const serverList = await ServerlistModel.getAllServerList();
|
||||
const serverList = await ServerlistModel?.findByEnv(pinus.app.get('env'))||[];
|
||||
await delKeys(REDIS_KEY.ONLINE_USERS);
|
||||
await delKeys(REDIS_KEY.USER_INFO);
|
||||
await delKeys(REDIS_KEY.GUILD_INFO);
|
||||
|
||||
Reference in New Issue
Block a user