Commit 85fdbf04 authored by 刘丙寅's avatar 刘丙寅

测试git测试

parent 45b2410e
......@@ -149,9 +149,9 @@ if __name__ == "__main__":
smtp_server = "smtp.exmail.qq.com"
port = 465
#发给谁的邮箱
receiver = ["liubingyin@igengmei.com", "chenxiangxiang@igengmei.com", "liangfenglong@igengmei.com"]
receiver = ["liubingyin@igengmei.com", "chenxiangxiang@igengmei.com"]
send_mail(sender, psw, receiver, smtp_server, report_file, port) # 4最后一步发送报告
dd_url = "https://oapi.dingtalk.com/robot/send?access_token=b2b0365eb8d2084a0c08bfe330e52d5a26498444a62f9cf398eb2421caea5bd7"
dd_url = "https://oapi.dingtalk.com/robot/send?access_token=8cabe84140972019bc286ce341ee48f6208037a7aaf2d242b8e213ee0c4695d2"
text = "监控报警:接口出现异常,请查看邮件排查问题"
json_text = {
"msgtype": "text",
......
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