change some files
This commit is contained in:
@@ -3,3 +3,8 @@ import callAPI from "@/core/caller";
|
||||
export async function getAllCenters() {
|
||||
return await callAPI.get(`/center/all`).then((res) => res.data);
|
||||
}
|
||||
export async function selectCenter(centerId: string) {
|
||||
return await callAPI
|
||||
.post("/center/select", { centerId })
|
||||
.then((res) => res.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user