call API trip

This commit is contained in:
2025-11-05 23:47:54 +07:00
parent 62b18e5bc0
commit 6288e79622
7 changed files with 115 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
import { api } from "@/config";
import { API_GET_TRIP } from "@/constants";
export async function queryTrip() {
return api.get<Model.Trip>(API_GET_TRIP);
}