From b1444ee7c513ed3322ff4086fe3a8ee6eb6a4212 Mon Sep 17 00:00:00 2001 From: Jack <jack.su@pollex.com.tw> Date: 星期三, 22 十二月 2021 21:17:41 +0800 Subject: [PATCH] Merge branch 'Phase2' of ssh://dev.pollex.com.tw:29418/pcalife/PAM into Phase2 --- pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java | 80 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 78 insertions(+), 2 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 df3f387..02266e0 100644 --- a/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java +++ b/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java @@ -18,6 +18,8 @@ private String eServiceLoginUrl; private String eServiceLoginFunc; private String eServiceLoginSys; + private SMS sms; + private Email email; private String fileFolderPath; public boolean isMockLogin() { @@ -76,6 +78,81 @@ this.eServiceLoginSys = eServiceLoginSys; } + 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; + + 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 static class Email { + private String url; + private String functionId; + + 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 getFileFolderPath() { return fileFolderPath; } @@ -83,6 +160,5 @@ public void setFileFolderPath(String fileFolderPath) { this.fileFolderPath = fileFolderPath; } - - + } -- Gitblit v1.8.0