feat: 实时在线用户统计

This commit is contained in:
ray
2024-08-25 08:41:08 +08:00
parent 33c8278a6a
commit b2c6babae3
5 changed files with 74 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
package com.youlai.system.service;
public interface WebsocketService {
void addUser(String username);
void removeUser(String username) ;
int getOnlineUserCount() ;
}