-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from UPbrella/release-dev
Deploy: Release
- Loading branch information
Showing
178 changed files
with
5,242 additions
and
1,130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="ko"> | ||
<head> | ||
<!-- Google Tag Manager --> | ||
<script> | ||
(function (w, d, s, l, i) { | ||
w[l] = w[l] || []; | ||
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" }); | ||
var f = d.getElementsByTagName(s)[0], | ||
j = d.createElement(s), | ||
dl = l != "dataLayer" ? "&l=" + l : ""; | ||
j.async = true; | ||
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl; | ||
f.parentNode.insertBefore(j, f); | ||
})(window, document, "script", "dataLayer", "GTM-5PKB9KPL"); | ||
</script> | ||
<!-- End Google Tag Manager --> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/src/assets/main_logo.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>UPbrella | 공유 우산 플랫폼</title> | ||
<script type="text/javascript" | ||
src="//dapi.kakao.com/v2/maps/sdk.js?appkey=<%= kakaoKey %>&libraries=services"></script> | ||
<!-- Naver Map --> | ||
<script type="text/javascript" | ||
src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=<%= naverKey %>"></script> | ||
</head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/src/assets/main_logo.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>UPbrella | 공유 우산 플랫폼</title> | ||
<script | ||
type="text/javascript" | ||
src="//dapi.kakao.com/v2/maps/sdk.js?appkey=<%= kakaoKey %>&libraries=services" | ||
></script> | ||
<!-- Naver Map --> | ||
<script | ||
type="text/javascript" | ||
src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=<%= naverKey %>" | ||
></script> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
<body> | ||
<!-- Google Tag Manager (noscript) --> | ||
<noscript | ||
><iframe | ||
src="https://www.googletagmanager.com/ns.html?id=GTM-5PKB9KPL" | ||
height="0" | ||
width="0" | ||
style="display: none; visibility: hidden" | ||
></iframe | ||
></noscript> | ||
<!-- End Google Tag Manager (noscript) --> | ||
|
||
</html> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { $axios } from "@/lib/axios"; | ||
import { TApiResponse } from "@/types/commonTypes"; | ||
import { TConditionRes, TImprovementRes } from "@/types/admin/FeedBackTypes"; | ||
|
||
const API = { | ||
HISTORIES_STATUS: () => `/admin/rent/histories/status`, | ||
HISTORIES_IMPROVEMENTS: () => `/admin/rent/histories/improvements`, | ||
} as const; | ||
|
||
// 신고 내역 조회 | ||
export const getHistoriesStatus = async () => { | ||
const res = await $axios.get<TApiResponse<TConditionRes>>(API.HISTORIES_STATUS(), { | ||
withCredentials: true, | ||
}); | ||
return res.data; | ||
}; | ||
|
||
// 개선 요청 내역 조회 | ||
export const getHistoriesImprovements = async () => { | ||
const res = await $axios.get<TApiResponse<TImprovementRes>>(API.HISTORIES_IMPROVEMENTS(), { | ||
withCredentials: true, | ||
}); | ||
return res.data; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.