Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm-zhuanzhen-test
Project
Project
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
刘丙寅
gm-zhuanzhen-test
Commits
d18d9645
Commit
d18d9645
authored
Mar 05, 2021
by
刘丙寅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加机器人
parent
55639f8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
allcase.py
allcase.py
+1
-1
No files found.
allcase.py
View file @
d18d9645
...
@@ -151,7 +151,7 @@ if __name__ == "__main__":
...
@@ -151,7 +151,7 @@ if __name__ == "__main__":
#发给谁的邮箱
#发给谁的邮箱
receiver
=
[
"liubingyin@igengmei.com"
,
"chenxiangxiang@igengmei.com"
]
receiver
=
[
"liubingyin@igengmei.com"
,
"chenxiangxiang@igengmei.com"
]
send_mail
(
sender
,
psw
,
receiver
,
smtp_server
,
report_file
,
port
)
# 4最后一步发送报告
send_mail
(
sender
,
psw
,
receiver
,
smtp_server
,
report_file
,
port
)
# 4最后一步发送报告
dd_url
=
"https://oapi.dingtalk.com/robot/send?access_token=
8cabe84140972019bc286ce341ee48f6208037a7aaf2d242b8e213ee0c4695d2
"
dd_url
=
"https://oapi.dingtalk.com/robot/send?access_token=
4aa12245f7b6c273dde43c4a547b386cd12dc59f22a475f2efbd494094be15b9
"
text
=
"监控报警:接口出现异常,请查看邮件排查问题"
text
=
"监控报警:接口出现异常,请查看邮件排查问题"
json_text
=
{
json_text
=
{
"msgtype"
:
"text"
,
"msgtype"
:
"text"
,
...
...
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