[update] 調整簡訊的service url與新增簡訊的標題欄位
| | |
| | | private String sourceCode; |
| | | private String sender; |
| | | private String smsType; |
| | | private String subject; |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | |
| | | public void setSmsType(String smsType) { |
| | | this.smsType = smsType; |
| | | } |
| | | |
| | | public String getSubject() { |
| | | return subject; |
| | | } |
| | | |
| | | public void setSubject(String subject) { |
| | | this.subject = subject; |
| | | } |
| | | } |
| | | |
| | | public static class Email { |
| | |
| | | sendSMSRequest.setSender(smsProperties.getSender()); |
| | | sendSMSRequest.setMsgTypeSet(smsProperties.getSmsType()); |
| | | sendSMSRequest.setSendTime(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:00"))); |
| | | sendSMSRequest.setSubject(""); |
| | | sendSMSRequest.setSubject(smsProperties.getSubject()); |
| | | sendSMSRequest.setActivityId(""); |
| | | |
| | | SMSDetail smsDetail = new SMSDetail(); |
| | |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | subject: 'testing sms subject' |
| | | email: |
| | | url: https://localhost:8081/testEmail |
| | | function-id: epos |
| | |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | subject: 'testing sms subject' |
| | | email: |
| | | url: https://localhost:8081/testEmail |
| | | function-id: epos |
| | |
| | | front-end-domain: https://vtwlifeopensyssit.pru.intranet.asia/pam |
| | | send-notify-msg: true |
| | | sms: |
| | | url: https://vtwlifewinbo66.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | subject: 'testing sms subject' |
| | | email: |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail |
| | | function-id: epos |
| | |
| | | front-end-domain: https://vtwlifeopensysuat.pru.intranet.asia/pam |
| | | send-notify-msg: true |
| | | sms: |
| | | url: https://vtwlifewinbo66.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | subject: 'testing sms subject' |
| | | email: |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail |
| | | function-id: epos |