From a2edb2c55c3ef6129db84ac92c78970bc8bd27e5 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期一, 14 二月 2022 10:22:39 +0800 Subject: [PATCH] [update] [todo 135313] 客戶填寫滿意度問卷api調整,並增加填寫時的檢核 --- pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 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 02266e0..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,7 @@ private String eServiceLoginUrl; private String eServiceLoginFunc; private String eServiceLoginSys; + private String frontEndDomain; private SMS sms; private Email email; private String fileFolderPath; @@ -78,6 +80,14 @@ this.eServiceLoginSys = eServiceLoginSys; } + public String getFrontEndDomain() { + return frontEndDomain; + } + + public void setFrontEndDomain(String frontEndDomain) { + this.frontEndDomain = frontEndDomain; + } + public SMS getSms() { return sms; } @@ -99,6 +109,8 @@ private String sourceCode; private String sender; private String smsType; + private String subject; + private boolean sendNotifyMsg; public String getUrl() { return url; @@ -131,11 +143,30 @@ 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; @@ -152,6 +183,30 @@ 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; -- Gitblit v1.8.0