Commit f5338c4f authored by yaozheng's avatar yaozheng

增加流量线测试群提醒

parent 374c34cb
......@@ -50,7 +50,7 @@ class Task:
secret = 'SECf2cc843306d667575a491650c777d8aa21788c4c60f3f0949d5d0b61c86e5aef'
text = '# 下班前先想一想 ' \
'\n> ***今天排查的线上问题记录了吗?*** [去记录](http://cf.dui88.com/pages/viewpage.action?pageId=97986428) ' \
'\n> ***测试用例上传了吗?*** [去上传](http://cf.dui88.com/pages/viewpage.action?pageId=67163062) ' \
'\n> ***测试用例上传了吗?*** [去上传](http://cf.dui88.com/pages/viewpage.action?pageId=67163149) ' \
'\n> ***提测bug都提交了吗?*** [去提交](http://jira.dui88.com) ' \
'\n> ***业务文档都更新了吗?*** [去更新](http://cf.dui88.com/pages/viewpage.action?pageId=78912619) '
......@@ -60,8 +60,8 @@ class Task:
currentdate = datetime.date.today()
currentday = calendar.weekday(currentdate.year, currentdate.month, currentdate.day)
if currentday == 1 or currentday == 3:
text = text + '\n> ***今天上线的需求都线上回归了吗?***'
text = text + '\n> ***今天上线的需求都线上回归了吗?*** '
if currentday == 4:
text = text + '\n> ***测试周报都写了吗?*** [去写周报](http://cf.dui88.com/pages/viewpage.action?pageId=92507929)'
text = text + '\n> ***测试周报都写了吗?*** [去写周报](http://cf.dui88.com/pages/viewpage.action?pageId=92507929) '
Remind.send_markdown(token=token, secret=secret, title='下班前想一想', text=text, at=at)
\ No newline at end of file
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