fix: kt token 갱신일자 오류 수정

- swagger는 오류를 최대한 잡을 때까지만 true 유지
main
jhseo 10 months ago
parent 56d71880d9
commit 60afd2e298

@ -28,9 +28,9 @@ spring:
springdoc: springdoc:
api-docs: api-docs:
enabled: false enabled: true
swagger-ui: swagger-ui:
enabled: false enabled: true
logging: logging:
level: level:

@ -54,7 +54,7 @@
IF(#{profile} = 'prod', kt_prod_token_jti, kt_dev_token_jti) AS ktTokenJti, /* KT 토큰 식별자 */ 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), '') = '' CASE WHEN IFNULL(IF(#{profile} = 'prod', kt_prod_token_expires_in, kt_dev_token_expires_in), '') = ''
THEN NULL 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일) */ END AS ktTokenExpiresIn, /* KT 토큰 유효기간 : (7775999)(90일) */
epost_service_key, /* epost service key */ epost_service_key, /* epost service key */
pplus_api_key, /* postplus api key */ pplus_api_key, /* postplus api key */

Loading…
Cancel
Save