renyupeng 2 年之前
父节点
当前提交
608362557d
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Apietl/task/send_material_report_weekly.py

+ 3 - 2
Apietl/task/send_material_report_weekly.py

@@ -79,8 +79,9 @@ group by t1.signature;""".format(stat_date=self.stat_date)
         pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
         my_sender = 'renyupeng@c-top.com.cn'  # 发件人邮箱账号
         my_pass = 'fcyJKkHUyPo6Zztw'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
-        recipients = ['wanglei@c-top.com.cn', 'niuxiaoyu@c-top.com.cn', 'lixiangmeijie@c-top.com.cn','shiyuke@s-hcst.com',
-                      'zhangnannan@c-top.com.cn']  # 收件人邮箱账号
+        recipients = ['wanglei@c-top.com.cn', 'niuxiaoyu@c-top.com.cn', 'lixiangmeijie@c-top.com.cn',
+                      'shiyuke@s-hcst.com',
+                      'zhangnannan@c-top.com.cn', 'yangying@c-top.com.cn']  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()
         # [发件人的邮箱昵称、发件人邮箱账号], 昵称随便