chore(maps): update banzone display when alarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { API_GET_ALL_LAYER, API_GET_LAYER_INFO } from '@/constants';
|
||||
import { API_GET_ALL_BANZONES, API_GET_ALL_LAYER, API_GET_LAYER_INFO } from '@/constants';
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getLayer(name: string) {
|
||||
@@ -8,3 +8,7 @@ export async function getLayer(name: string) {
|
||||
export async function getAllLayer() {
|
||||
return request(API_GET_ALL_LAYER);
|
||||
}
|
||||
|
||||
export async function queryBanzones() {
|
||||
return request<API.Zone[]>(API_GET_ALL_BANZONES);
|
||||
}
|
||||
Reference in New Issue
Block a user