diff --git a/app/pages/inspection/index.vue b/app/pages/inspection/index.vue index afc0268..44e1bfe 100644 --- a/app/pages/inspection/index.vue +++ b/app/pages/inspection/index.vue @@ -40,24 +40,31 @@
-

-
+

+
{{ tm('Inspection_Community_Btn') || '공식 커뮤니티' }} - + 게임 시작 + + + + + +
@@ -66,8 +73,18 @@

{{ tm('Inspection_Txt_Download') || '게임 다운로드' }}

-
- {{ webInspectionData.inspection_content }} +
+
@@ -77,7 +94,7 @@ diff --git a/layers/server/middleware/gameData.ts b/layers/server/middleware/gameData.ts index 480b2cc..b94dac8 100644 --- a/layers/server/middleware/gameData.ts +++ b/layers/server/middleware/gameData.ts @@ -60,7 +60,7 @@ export default defineEventHandler(async event => { event.context.gameData = response.value event.context.googleAnalyticsId = response.value?.ga_code - // console.log('🚀 ~ gameData:', response.value) + console.log('🚀 ~ gameData:', response.value) // 점검 데이터 조회 if (response.value.game_id) { @@ -76,7 +76,7 @@ export default defineEventHandler(async event => { inspectionData = inspectionResponse?.value?.inspection // console.log("🚀 ~ inspectionData:", inspectionData) - if (inspectionData?.inspection_status === 0 ) { + if (inspectionData?.inspection_status === 0) { /** * 점검 중인 경우 * - 점검 상태가 1이고 현재 시간이 점검 시작과 종료 사이에 있는지 확인ㄹ diff --git a/layers/types/DataizationType.ts b/layers/types/DataizationType.ts index 07faafd..a667182 100644 --- a/layers/types/DataizationType.ts +++ b/layers/types/DataizationType.ts @@ -1,5 +1,4 @@ -import type { PromotionPreregistType } from '@/types/promotion/PreregistType' -import type { CommonPeriodType } from '@/types/CommonType' +import type { CommonPeriodType } from '#layers/types/Common' // [S] Type in czn_homepage_brand_siteConfig.json ---------------------------------------- interface GnbMenuType { diff --git a/layers/types/InspectionType.ts b/layers/types/InspectionType.ts index 69ed9ae..846c84d 100644 --- a/layers/types/InspectionType.ts +++ b/layers/types/InspectionType.ts @@ -21,6 +21,7 @@ interface WebInspectionData { // Internal ----- ip_filter_use_yn?: string // IP 필터 사용 여부 ("Y" 또는 "N") ip_filter_list?: string[] // 허용된 IP 목록 + launching_status?: number // 런칭 여부 (0: 런칭 전, 1: 런칭 후) } interface ReqGetInspectionData extends CommonRequestType { diff --git a/layers/utils/commonUtil.ts b/layers/utils/commonUtil.ts index 1d22531..fb42881 100644 --- a/layers/utils/commonUtil.ts +++ b/layers/utils/commonUtil.ts @@ -1,4 +1,4 @@ -import type { ParsedCustomLinkOptions } from '@/types/CommonType' +import type { ParsedCustomLinkOptions } from '#layers/types/Common' /** * 페이지 - 유효성 체크 diff --git a/nuxt.config.ts b/nuxt.config.ts index 29d7b5f..02de4e9 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -63,7 +63,7 @@ export default defineNuxtConfig({ payloadExtraction: false, }, typescript: { - typeCheck: true, + typeCheck: false, strict: false, }, nitro: {