From c2b9806cf1799a2776532bad598cbe9755450ce3 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期三, 16 二月 2022 16:06:07 +0800 Subject: [PATCH] [BUG] [todo 135488] 客戶登入後,逾時半小時後再次重新整理頁面,網頁會發生 500 錯誤 --- pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java b/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java index 8f9876a..60b33ca 100644 --- a/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java +++ b/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java @@ -1,5 +1,6 @@ package com.pollex.pam.config; +import com.pollex.pam.enums.SendEmailMsgMethod; import org.springframework.boot.context.properties.ConfigurationProperties; /** @@ -18,7 +19,10 @@ private String eServiceLoginUrl; private String eServiceLoginFunc; private String eServiceLoginSys; + private String frontEndDomain; private SMS sms; + private Email email; + private String fileFolderPath; public boolean isMockLogin() { return mockLogin; @@ -76,6 +80,14 @@ this.eServiceLoginSys = eServiceLoginSys; } + public String getFrontEndDomain() { + return frontEndDomain; + } + + public void setFrontEndDomain(String frontEndDomain) { + this.frontEndDomain = frontEndDomain; + } + public SMS getSms() { return sms; } @@ -84,11 +96,21 @@ this.sms = sms; } + public Email getEmail() { + return email; + } + + public void setEmail(Email email) { + this.email = email; + } + public static class SMS { private String url; private String sourceCode; private String sender; private String smsType; + private String subject; + private boolean sendNotifyMsg; public String getUrl() { return url; @@ -121,5 +143,77 @@ public void setSmsType(String smsType) { this.smsType = smsType; } + + public String getSubject() { + return subject; + } + + public void setSubject(String subject) { + this.subject = subject; + } + + public boolean isSendNotifyMsg() { + return sendNotifyMsg; + } + + public void setSendNotifyMsg(boolean sendNotifyMsg) { + this.sendNotifyMsg = sendNotifyMsg; + } } + + public static class Email { + private String url; + private String functionId; + private String senderEmail; + private boolean sendNotifyMsg; + private SendEmailMsgMethod method; + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getFunctionId() { + return functionId; + } + + public void setFunctionId(String functionId) { + this.functionId = functionId; + } + + public String getSenderEmail() { + return senderEmail; + } + + public void setSenderEmail(String senderEmail) { + this.senderEmail = senderEmail; + } + + public boolean isSendNotifyMsg() { + return sendNotifyMsg; + } + + public void setSendNotifyMsg(boolean sendNotifyMsg) { + this.sendNotifyMsg = sendNotifyMsg; + } + + public SendEmailMsgMethod getMethod() { + return method; + } + + public void setMethod(SendEmailMsgMethod method) { + this.method = method; + } + } + public String getFileFolderPath() { + return fileFolderPath; + } + + public void setFileFolderPath(String fileFolderPath) { + this.fileFolderPath = fileFolderPath; + } + } -- Gitblit v1.8.0