Commit 5a9fe8cf by jx-art

测试请求邮件接口~

parent d0b8dd2d
Pipeline #43167 failed with stages
in 1 minute 20 seconds
...@@ -42,11 +42,11 @@ public class UasClientServiceImpl implements UasClientService { ...@@ -42,11 +42,11 @@ public class UasClientServiceImpl implements UasClientService {
params.put("subject", subject); params.put("subject", subject);
params.put("content", content); params.put("content", content);
params.put("to", StringUtils.join(toList, ",")); params.put("to", StringUtils.join(toList, ","));
params.put("topic", "qc"); //params.put("topic", "qc");
if (!CollectionUtils.isEmpty(ccList)) { if (!CollectionUtils.isEmpty(ccList)) {
params.put("cc", StringUtils.join(ccList, ",")); params.put("cc", StringUtils.join(ccList, ","));
} }
String res = service.sendEmail1(params); String res = service.sendEmail(params);
this.logger.info("返回信息日志打印\n"+res); this.logger.info("返回信息日志打印\n"+res);
this.logger.info("[op:sendEmail] res={} ", new Object[]{res}); this.logger.info("[op:sendEmail] res={} ", new Object[]{res});
JSONObject jsonObject = JSON.parseObject(res); JSONObject jsonObject = JSON.parseObject(res);
......
...@@ -18,10 +18,6 @@ public interface EmailRpcService { ...@@ -18,10 +18,6 @@ public interface EmailRpcService {
@PostMapping("/push/email/attach/yanxuan-qc-change-system/upload.json") @PostMapping("/push/email/attach/yanxuan-qc-change-system/upload.json")
String sendEmail(Map<String, String> params); String sendEmail(Map<String, String> params);
@PostMapping("/push/email/attach/yanxuan-qc-change-system")
String sendEmail1(Map<String, String> params);
//
//yanxuan-sc-ehc //yanxuan-sc-ehc
@PostMapping("/push/email/bpm_risk_evaluation_11") @PostMapping("/push/email/bpm_risk_evaluation_11")
String sendEmailInfo(Map<String, String> params); String sendEmailInfo(Map<String, String> params);
......
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