pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/resources/config/application-dev.yml | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/resources/config/application-pollex.yml | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/resources/config/application-sit.yml | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/resources/config/application-uat.yml | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 |
pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java
@@ -54,7 +54,7 @@ sendSMSRequest.setSender(smsProperties.getSender()); sendSMSRequest.setMsgTypeSet(smsProperties.getSmsType()); sendSMSRequest.setSendTime(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:00"))); sendSMSRequest.setSubject(smsProperties.getSubject()); sendSMSRequest.setSubject(encoder.encodeToString(smsProperties.getSubject().getBytes(StandardCharsets.UTF_8))); sendSMSRequest.setActivityId(""); SMSDetail smsDetail = new SMSDetail(); @@ -117,7 +117,7 @@ SendMailResponse sendMailResponse = new ObjectMapper().readValue(responseEntity.getBody(), SendMailResponse.class); log.debug("sendMailResponse = {}", sendMailResponse); // if(sendMailResponse == null || sendMailResponse.getData() == null || "ADDED".equalsIgnoreCase(sendMailResponse.getData().getMessageStatus())) { // if(sendMailResponse == null || sendMailResponse.getData() == null || !"ADDED".equalsIgnoreCase(sendMailResponse.getData().getMessageStatus())) { // throw new SendEmailFailException(); // } pamapi/src/main/resources/config/application-dev.yml
@@ -126,7 +126,7 @@ source-code: ePos sender: POS sms-type: '0017' subject: 'testing sms subject' subject: '媒合平台通知' email: url: https://localhost:8081/testEmail function-id: epos pamapi/src/main/resources/config/application-pollex.yml
@@ -124,7 +124,7 @@ source-code: ePos sender: POS sms-type: '0017' subject: 'testing sms subject' subject: '媒合平台通知' email: url: https://localhost:8081/testEmail function-id: epos pamapi/src/main/resources/config/application-sit.yml
@@ -124,7 +124,7 @@ source-code: ePos sender: POS sms-type: '0017' subject: 'testing sms subject' subject: '媒合平台通知' email: url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail function-id: epos pamapi/src/main/resources/config/application-uat.yml
@@ -124,7 +124,7 @@ source-code: ePos sender: POS sms-type: '0017' subject: 'testing sms subject' subject: '媒合平台通知' email: url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail function-id: epos