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}`);
|
||||
}
|
||||
|
||||
4
controller/typings.d.ts
vendored
4
controller/typings.d.ts
vendored
@@ -60,7 +60,9 @@ declare namespace Model {
|
||||
conditions?: Condition[];
|
||||
enabled?: boolean;
|
||||
updated_at?: Date;
|
||||
geom?: Geom;
|
||||
geometry?: string;
|
||||
description?: string;
|
||||
province_code?: string;
|
||||
}
|
||||
|
||||
interface Condition {
|
||||
|
||||
Reference in New Issue
Block a user