This commit is contained in:
Putoo
2026-05-23 18:36:37 +08:00
parent 05e340801f
commit dbace8a8b2
27 changed files with 729 additions and 52 deletions

View File

@@ -6,4 +6,12 @@ export class MapService {
static async GetMapData(map: string) {
return await ApiService.Request("get", "/Map/Map/GetMapData", { map });
}
/**
* 获取地图在线玩家
* GET /Map/Map/GetMapUser
*/
static async GetMapUser(page: number) {
return await ApiService.Request("get", "/Map/Map/GetMapUser", { page });
}
}

View File

@@ -0,0 +1,9 @@
export class BagService {
/**
* 获取背包信息
* GET /User/Bag/GetUserBagData
*/
static async GetUserBagData() {
return await ApiService.Request("get", "/User/Bag/GetUserBagData");
}
}