API การแจ้งเตือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-28 13:36:08 +07:00
parent 4ff1334b32
commit 23314ca3a6
6 changed files with 115 additions and 17 deletions

View file

@ -1,20 +1,23 @@
/**ใช้รวมไฟล์ย่อยๆ ของ api แต่ละไฟล์ */
/** API ระบบลงเวลา */
import leave from "@/api/api.checkin";
import history from "@/api/api.history";
import leave from '@/api/api.checkin'
import history from '@/api/api.history'
import message from '@/api/api.message'
// environment variables
export const s3ClusterUrl = import.meta.env.VITE_S3CLUSTER_PUBLIC_URL;
export const s3ClusterUrl = import.meta.env.VITE_S3CLUSTER_PUBLIC_URL
const API = {
/**leave */
...leave,
/**history */
...history,
};
/**message */
...message,
}
export default {
API: API,
s3ClusterUrl,
};
}