From 991dfe252f275431011ec55c7b47a9bc11e36d87 Mon Sep 17 00:00:00 2001 From: Jack <jack.su@pollex.com.tw> Date: 星期二, 28 十二月 2021 15:02:45 +0800 Subject: [PATCH] [UPDATE] 調整編輯顧問API的文件 [BUG] 處理修改顧問資料未更新個人背景和得獎經歷的問題 --- pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java b/pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java index 6bac287..650fbac 100644 --- a/pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java +++ b/pamapi/src/main/java/com/pollex/pam/service/SendMsgService.java @@ -1,7 +1,6 @@ package com.pollex.pam.service; import com.pollex.pam.config.ApplicationProperties; -import com.pollex.pam.config.ApplicationProperties.Email; import com.pollex.pam.config.ApplicationProperties.SMS; import com.pollex.pam.service.dto.*; import com.pollex.pam.service.util.HttpRequestUtil; @@ -31,7 +30,7 @@ @Autowired ApplicationProperties applicationProperties; - public void sendMsgBySMS(String subject, String toMobile, String content) throws SendSMSFailException{ + public void sendMsgBySMS(String toMobile, String content) throws SendSMSFailException{ SMS smsProperties = applicationProperties.getSms(); SendSMSRequest sendSMSRequest = new SendSMSRequest(); @@ -40,7 +39,7 @@ sendSMSRequest.setSender(smsProperties.getSender()); sendSMSRequest.setMsgTypeSet(smsProperties.getSmsType()); sendSMSRequest.setSendTime(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:00"))); - sendSMSRequest.setSubject(subject); + sendSMSRequest.setSubject(""); sendSMSRequest.setActivityId(""); SMSDetail smsDetail = new SMSDetail(); -- Gitblit v1.8.0