Commit 8a91b3fc by jx-art

发送邮件。。。

parent d8db0c61
...@@ -16,11 +16,11 @@ public interface EmailRpcService { ...@@ -16,11 +16,11 @@ public interface EmailRpcService {
//templates/flowx/template/assemble.json //templates/flowx/template/assemble.json
//yanxuan-qc-change-system //yanxuan-qc-change-system
//@PostMapping("/push/email/attach/yanxuan-qc-change-system/upload.json") //@PostMapping("/push/email/attach/yanxuan-qc-change-system/upload.json")
@PostMapping("/push/email/attach/yxqc_release_flow/upload.json") @PostMapping("/push/email/attach/yanxuan-qc-ehc/upload.json")
String sendEmail(Map<String, String> params); String sendEmail(Map<String, String> params);
//yanxuan-sc-ehc //yanxuan-sc-ehc
@PostMapping("/push/email/bpm_risk_evaluation_11") @PostMapping("/push/email/yanxuan-qc-ehc/upload.json")
String sendEmailInfo(Map<String, String> params); String sendEmailInfo(Map<String, String> params);
} }
...@@ -124,7 +124,7 @@ public class ChangeConfigController { ...@@ -124,7 +124,7 @@ public class ChangeConfigController {
ArrayList<String> strings = new ArrayList<>(); ArrayList<String> strings = new ArrayList<>();
logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~"); logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~");
strings.add("wb.tanglongwei@mesg.corp.netease.com"); strings.add("wb.tanglongwei@mesg.corp.netease.com");
iEmailService.sendEmail("测试标题","{\n" + iEmailService.sendEmail("yxqc_release_flow","{\n" +
" \"flowId\":\"工单ID\",\n" + " \"flowId\":\"工单ID\",\n" +
" \"releaseId\":\"发起人账号\",\n" + " \"releaseId\":\"发起人账号\",\n" +
" \"releaseName\":\"发起人姓名\",\n" + " \"releaseName\":\"发起人姓名\",\n" +
...@@ -141,7 +141,7 @@ public class ChangeConfigController { ...@@ -141,7 +141,7 @@ public class ChangeConfigController {
ArrayList<String> strings = new ArrayList<>(); ArrayList<String> strings = new ArrayList<>();
logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~"); logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~");
strings.add("wb.tanglongwei@mesg.corp.netease.com"); strings.add("wb.tanglongwei@mesg.corp.netease.com");
client.sendEmail("测试标题11","{\n" + client.sendEmail("bpm_risk_evaluation_11","{\n" +
"\n" + "\n" +
"\u200B \"itemId\":\"商品id\",\n" + "\u200B \"itemId\":\"商品id\",\n" +
"\n" + "\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment