From a3716f72066d25d745f4d5103ff23a553c3e102b Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期四, 17 二月 2022 11:41:19 +0800 Subject: [PATCH] Merge branch 'sit' into uat --- pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java | 142 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 142 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 6f79c28..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,6 +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; @@ -74,4 +79,141 @@ public void seteServiceLoginSys(String eServiceLoginSys) { this.eServiceLoginSys = eServiceLoginSys; } + + public String getFrontEndDomain() { + return frontEndDomain; + } + + public void setFrontEndDomain(String frontEndDomain) { + this.frontEndDomain = frontEndDomain; + } + + public SMS getSms() { + return sms; + } + + public void setSms(SMS sms) { + 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; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getSourceCode() { + return sourceCode; + } + + public void setSourceCode(String sourceCode) { + this.sourceCode = sourceCode; + } + + public String getSender() { + return sender; + } + + public void setSender(String sender) { + this.sender = sender; + } + + public String getSmsType() { + return smsType; + } + + 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