完成加入,退出房间

This commit is contained in:
kron
2025-08-14 15:24:12 +08:00
parent 6803d0f408
commit 2a9a373743
8 changed files with 138 additions and 57 deletions

View File

@@ -6,7 +6,7 @@ try {
switch (envVersion) {
case "develop": // 开发版
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
BASE_URL = "http://192.168.1.242:8000/api/shoot";
break;
case "trial": // 体验版
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
@@ -444,3 +444,7 @@ export const getPractiseDataAPI = async () => {
export const getBattleDataAPI = async () => {
return request("GET", "/user/fight/statistics");
};
export const chooseTeamAPI = async (number, group) => {
return request("POST", "/user/room/group", { number, group });
};