mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 11:26:50 +08:00
php剥离内容修改
This commit is contained in:
@@ -56,12 +56,11 @@ public class EmailServiceImpl implements IEmailService {
|
|||||||
String cfgWord=SysConstant.getConfigValue("xboe.email.security");
|
String cfgWord=SysConstant.getConfigValue("xboe.email.security");
|
||||||
|
|
||||||
Map<String,Object> data=new HashMap<String,Object>();
|
Map<String,Object> data=new HashMap<String,Object>();
|
||||||
data.put("to",to);
|
// php剥离,不再使用老系统发邮件,使用基础服务的发邮件功能
|
||||||
data.put("subject",subject);
|
data.put("email",to);
|
||||||
|
data.put("title",subject);
|
||||||
data.put("content", htmlMsg);
|
data.put("content", htmlMsg);
|
||||||
data.put("fromName", cfgFrom);
|
data.put("userName", cfgUser);
|
||||||
data.put("cc", "");
|
|
||||||
data.put("type", 0);
|
|
||||||
ObjectMapper mapper=new ObjectMapper();
|
ObjectMapper mapper=new ObjectMapper();
|
||||||
String json=mapper.writeValueAsString(data);
|
String json=mapper.writeValueAsString(data);
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ xboe:
|
|||||||
user:
|
user:
|
||||||
password:
|
password:
|
||||||
email:
|
email:
|
||||||
url: https://u.boe.com/api/b1/email/send
|
url: http://u.boe.com/infrasApi/sendMsg/sendMail
|
||||||
from: boeu_learning@boe.com.cn
|
from: boeu_learning@boe.com.cn
|
||||||
user:
|
user:
|
||||||
security:
|
security:
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ xboe:
|
|||||||
user: elastic
|
user: elastic
|
||||||
password: Boe@es123
|
password: Boe@es123
|
||||||
email:
|
email:
|
||||||
url: http://10.251.186.27/api/b1/email/send
|
url: http://127.0.0.1/infrasApi/sendMsg/sendMail
|
||||||
from: boeu_learning@boe.com.cn
|
from: boeu_learning@boe.com.cn
|
||||||
user:
|
user:
|
||||||
security:
|
security:
|
||||||
|
|||||||
Reference in New Issue
Block a user