|
@@ -41,8 +41,8 @@ group by signature """.format(date=self.stat_date)
|
|
print(sql)
|
|
print(sql)
|
|
path = """/data/excel/开屏素材_{stat_date}.xls""".format(stat_date=self.stat_date)
|
|
path = """/data/excel/开屏素材_{stat_date}.xls""".format(stat_date=self.stat_date)
|
|
pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
|
|
pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
|
|
- my_sender = 'renyupeng@c-top.com.cn' # 发件人邮箱账号
|
|
|
|
- my_pass = 'fcyJKkHUyPo6Zztw' # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
|
|
|
|
|
|
+ my_sender = 'huichuangsituo@c-top.com.cn' # 发件人邮箱账号
|
|
|
|
+ my_pass = 'rfZV5qRfendzM3Ph' # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
|
|
recipients = ['wanglei@c-top.com.cn', 'shiyuke@s-hcst.com', 'videomanager@c-top.com.cn', 'jiajingbo@s-hcst.com',
|
|
recipients = ['wanglei@c-top.com.cn', 'shiyuke@s-hcst.com', 'videomanager@c-top.com.cn', 'jiajingbo@s-hcst.com',
|
|
'renhaozhe@s-hcst.com'] # 收件人邮箱账号
|
|
'renhaozhe@s-hcst.com'] # 收件人邮箱账号
|
|
# content = "Please check the attachment. "
|
|
# content = "Please check the attachment. "
|