feat: 游戏房间
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.webgame.webgamebackend.service;
|
||||
|
||||
import com.webgame.webgamebackend.common.dto.user.UpdateUserInfoRequest;
|
||||
import com.webgame.webgamebackend.common.dto.user.UserInfoResponse;
|
||||
|
||||
/**
|
||||
@@ -13,4 +14,13 @@ public interface UserService {
|
||||
* @return 用户信息
|
||||
*/
|
||||
UserInfoResponse getCurrentUserInfo();
|
||||
|
||||
/**
|
||||
* 更新当前登录用户的资料
|
||||
*
|
||||
* @param accountId 账号 ID
|
||||
* @param request 更新请求(所有字段可选)
|
||||
* @return 更新后的用户信息
|
||||
*/
|
||||
UserInfoResponse updateUserInfo(String accountId, UpdateUserInfoRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user