222
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
9
Web/src/services/user/BagService.ts
Normal file
9
Web/src/services/user/BagService.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export class BagService {
|
||||
/**
|
||||
* 获取背包信息
|
||||
* GET /User/Bag/GetUserBagData
|
||||
*/
|
||||
static async GetUserBagData() {
|
||||
return await ApiService.Request("get", "/User/Bag/GetUserBagData");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user