Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yx-qc-change-flow
yanxuan-qc-change-system
Commits
5a9fe8cf
Commit
5a9fe8cf
authored
Nov 29, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试请求邮件接口~
parent
d0b8dd2d
Pipeline
#43167
failed with stages
in 1 minute 20 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
UasClientServiceImpl.java
.../integration/email/service/impl/UasClientServiceImpl.java
+2
-2
EmailRpcService.java
...anxuan/change/integration/flow/email/EmailRpcService.java
+0
-4
No files found.
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/email/service/impl/UasClientServiceImpl.java
View file @
5a9fe8cf
...
@@ -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
.
sendEmail
1
(
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
);
...
...
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/email/EmailRpcService.java
View file @
5a9fe8cf
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment