feat: 好友约战选择20、40厘米靶

This commit is contained in:
2026-04-20 17:43:38 +08:00
parent c1ff0cedad
commit 8c48216a75
4 changed files with 77 additions and 5 deletions

View File

@@ -216,10 +216,11 @@ export const getPractiseAPI = async (id) => {
return request("GET", `/user/practice/get?id=${id}`);
};
export const createRoomAPI = (gameType, teamSize) => {
export const createRoomAPI = (gameType, teamSize, targetType) => {
return request("POST", "/user/createroom", {
gameType,
teamSize,
targetType,
});
};