添加踢人接口

This commit is contained in:
kron
2026-02-09 15:10:23 +08:00
parent b37f181c0f
commit b355f4e009
3 changed files with 34 additions and 4 deletions

View File

@@ -558,3 +558,10 @@ export const getBattleAPI = async (battleId) => {
id: battleId,
});
};
export const kickPlayerAPI = (number, userId) => {
return request("POST", "/user/room/kicking", {
number,
userId,
});
};