Hiển thị tọa độ và khu vực khi tàu vi phạm

This commit is contained in:
Tran Anh Tuan
2025-12-08 09:31:28 +07:00
parent c47d9ad14c
commit 695066a5e7
11 changed files with 1517 additions and 301 deletions

View File

@@ -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}`);
}