This commit is contained in:
Putoo
2026-05-25 18:41:27 +08:00
parent 590f7c5290
commit 0afbf6e39a
32 changed files with 2137 additions and 101 deletions

View File

@@ -14,4 +14,20 @@ export class MapService {
static async GetMapUser(page: number) {
return await ApiService.Request("get", "/Map/Map/GetMapUser", { page });
}
/**
* 获取当前城市所有地图
* GET /Map/Map/GetUserOnCityMap
*/
static async GetUserOnCityMap(search: string) {
return await ApiService.Request("get", "/Map/Map/GetUserOnCityMap", { search });
}
/**
* 获取自动寻路路径
* GET /Map/Map/GetAutoMapPath
*/
static async GetAutoMapPath(toMap: string) {
return await ApiService.Request("get", "/Map/Map/GetAutoMapPath", { toMap });
}
}

View File

@@ -6,4 +6,12 @@ export class BagService {
static async GetUserBagData() {
return await ApiService.Request("get", "/User/Bag/GetUserBagData");
}
/**
* GetUserBagProp
* GET /User/Bag/GetUserBagProp
*/
static async GetUserBagProp(type: number, ch: number, query: string, page: number) {
return await ApiService.Request("get", "/User/Bag/GetUserBagProp", { type, ch, query, page });
}
}