1111
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
@@ -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 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user