feat: 游戏房间
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.webgame.webgamebackend.service;
|
||||
|
||||
import com.webgame.webgamebackend.common.dto.user.UpdateStatusRequest;
|
||||
import com.webgame.webgamebackend.common.dto.user.UpdateUserInfoRequest;
|
||||
import com.webgame.webgamebackend.common.dto.user.UserInfoResponse;
|
||||
|
||||
@@ -23,4 +24,12 @@ public interface UserService {
|
||||
* @return 更新后的用户信息
|
||||
*/
|
||||
UserInfoResponse updateUserInfo(String accountId, UpdateUserInfoRequest request);
|
||||
|
||||
/**
|
||||
* 更新当前登录用户的在线状态
|
||||
*
|
||||
* @param accountId 账号 ID
|
||||
* @param request 状态更新请求
|
||||
*/
|
||||
void updateStatus(String accountId, UpdateStatusRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user