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
胡园园
yanxuan-qc-change-system
Commits
d8db0c61
Commit
d8db0c61
authored
Nov 29, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印请求参数自己请求
parent
7304291c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
UasClientServiceImpl.java
.../integration/email/service/impl/UasClientServiceImpl.java
+1
-0
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+16
-7
No files found.
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/email/service/impl/UasClientServiceImpl.java
View file @
d8db0c61
...
@@ -46,6 +46,7 @@ public class UasClientServiceImpl implements UasClientService {
...
@@ -46,6 +46,7 @@ public class UasClientServiceImpl implements UasClientService {
if
(!
CollectionUtils
.
isEmpty
(
ccList
))
{
if
(!
CollectionUtils
.
isEmpty
(
ccList
))
{
params
.
put
(
"cc"
,
StringUtils
.
join
(
ccList
,
","
));
params
.
put
(
"cc"
,
StringUtils
.
join
(
ccList
,
","
));
}
}
logger
.
info
(
JSONObject
.
toJSONString
(
params
));
String
res
=
service
.
sendEmail
(
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
});
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
d8db0c61
...
@@ -142,13 +142,22 @@ public class ChangeConfigController {
...
@@ -142,13 +142,22 @@ public class ChangeConfigController {
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
(
"测试标题11"
,
"{\n"
+
" \"flowId\":\"工单ID\",\n"
+
"\n"
+
" \"releaseId\":\"发起人账号\",\n"
+
"\u200B \"itemId\":\"商品id\",\n"
+
" \"releaseName\":\"发起人姓名\",\n"
+
"\n"
+
" \"abnormalTitle\":\"异常标题\",\n"
+
"\u200B \"itemName\":\"商品名称\",\n"
+
" \"flowLink\":\"工单链接\",\n"
+
"\n"
+
" \"findTime\":\"findTime\",\n"
+
"\u200B \"sqeId\":\"sqeId\",\n"
+
" \"findDes\":\"findDes\"\n"
+
"\n"
+
"\u200B \"sqeName\":\"sqe名称\",\n"
+
"\n"
+
"\u200B \"createTime\":\"开始时间\",\n"
+
"\n"
+
"\u200B \"flowId\":\"工单id\",\n"
+
"\n"
+
"\u200B \"flowUrl\":\"工单链接\",\n"
+
"\n"
+
"\u200B\t”subject“:\"xxx\"\n"
+
"\n"
+
"\n"
+
"}"
,
strings
,
null
,
null
);
"}"
,
strings
,
null
,
null
);
}
}
...
...
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