renyupeng 3 年之前
父節點
當前提交
46509190b3
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      Apietl/task/send_bytedance_material_month.py
  2. 2 2
      Apietl/task/send_material_report_month.py

+ 2 - 2
Apietl/task/send_bytedance_material_month.py

@@ -68,8 +68,8 @@ on a.signature=b.material_id; """.format(stat_date=self.stat_date)
         path = """/data/excel/send_bytedance_material_month.xls""".format(stat_date=self.stat_date)
         print(path)
         pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
-        my_sender = 'zhaohailiang@c-top.com.cn'  # 发件人邮箱账号
-        my_pass = 'h27UwLdJcD797THk'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
+        my_sender = 'renyupeng@c-top.com.cn'  # 发件人邮箱账号
+        my_pass = 'fcyJKkHUyPo6Zztw'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
         recipients = ['niuxiaoyu@c-top.com.cn']  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()

+ 2 - 2
Apietl/task/send_material_report_month.py

@@ -68,8 +68,8 @@ on a.signature=b.material_id; """.format(stat_date=self.stat_date)
         path = """/data/excel/send_material_report_month.xls""".format(stat_date=self.stat_date)
         print(path)
         pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
-        my_sender = 'zhaohailiang@c-top.com.cn'  # 发件人邮箱账号
-        my_pass = 'h27UwLdJcD797THk'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
+        my_sender = 'renyupeng@c-top.com.cn'  # 发件人邮箱账号
+        my_pass = 'fcyJKkHUyPo6Zztw'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
         recipients = ['niuxiaoyu@c-top.com.cn','dukexuan@c-top.com.cn']  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()