From 60afd2e2986ec41e0e40e0a9d16e4ffb37c50440 Mon Sep 17 00:00:00 2001 From: jhseo Date: Fri, 19 Jan 2024 10:51:29 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20kt=20token=20=EA=B0=B1=EC=8B=A0=EC=9D=BC?= =?UTF-8?q?=EC=9E=90=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95=20-=20swagg?= =?UTF-8?q?er=EB=8A=94=20=EC=98=A4=EB=A5=98=EB=A5=BC=20=EC=B5=9C=EB=8C=80?= =?UTF-8?q?=ED=95=9C=20=EC=9E=A1=EC=9D=84=20=EB=95=8C=EA=B9=8C=EC=A7=80?= =?UTF-8?q?=EB=A7=8C=20true=20=EC=9C=A0=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mens-api/src/main/resources/config/application-prod.yml | 4 ++-- .../egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mens-api/src/main/resources/config/application-prod.yml b/mens-api/src/main/resources/config/application-prod.yml index 3b30367..d8613cc 100644 --- a/mens-api/src/main/resources/config/application-prod.yml +++ b/mens-api/src/main/resources/config/application-prod.yml @@ -28,9 +28,9 @@ spring: springdoc: api-docs: - enabled: false + enabled: true swagger-ui: - enabled: false + enabled: true logging: level: diff --git a/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml b/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml index c03bdda..267f31e 100644 --- a/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml +++ b/mens-api/src/main/resources/egovframework/mapper/biz/ens-cmm-cache-mysql-mapper.xml @@ -54,7 +54,7 @@ IF(#{profile} = 'prod', kt_prod_token_jti, kt_dev_token_jti) AS ktTokenJti, /* KT 토큰 식별자 */ CASE WHEN IFNULL(IF(#{profile} = 'prod', kt_prod_token_expires_in, kt_dev_token_expires_in), '') = '' THEN NULL - ELSE DATE_ADD(NOW(), INTERVAL IF(#{profile} = 'prod', kt_prod_token_expires_in, kt_dev_token_expires_in) - 86400 SECOND) + ELSE DATE_ADD(updt_dt, INTERVAL IF(#{profile} = 'prod', kt_prod_token_expires_in, kt_dev_token_expires_in) - 86400 SECOND) END AS ktTokenExpiresIn, /* KT 토큰 유효기간 : (7775999)(90일) */ epost_service_key, /* epost service key */ pplus_api_key, /* postplus api key */