Hiển thị tọa độ và khu vực khi tàu vi phạm
This commit is contained in:
@@ -4,3 +4,7 @@ import { API_GET_ALL_BANZONES } from "@/constants";
|
||||
export async function queryBanzones() {
|
||||
return api.get<Model.Zone[]>(API_GET_ALL_BANZONES);
|
||||
}
|
||||
|
||||
export async function queryBanzoneById(zoneId: string) {
|
||||
return api.get<Model.Zone>(`${API_GET_ALL_BANZONES}/${zoneId}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user