엑셀 양식 다운로드 받는 부분 완료.

This commit is contained in:
truthwing
2025-04-25 13:35:43 +09:00
parent 80aa1d1179
commit be72b89edd
9 changed files with 260 additions and 138 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
//8880
import { DEV_URL_FO, DEV_URL_WR } from "../config/";
import { DEV_URL_FO, DEV_URL_WR } from "../config/";
export const fetchType={COMMON: "common", WR: "wr"}
export const getFetch = async( type:string , url: string) => {
const div = type === 'common' ? DEV_URL_FO : DEV_URL_WR
const div = type === fetchType.COMMON ? DEV_URL_FO : DEV_URL_WR
const response = await fetch( div+url , {
method: "GET",
headers: {