Commit 3ffbd47c authored by TesterYao's avatar TesterYao

增加流量线测试群提醒

parent a667cc14
...@@ -73,7 +73,7 @@ class Task: ...@@ -73,7 +73,7 @@ class Task:
bq_at = {'atMobiles': [bq_num[currentday]]} bq_at = {'atMobiles': [bq_num[currentday]]}
Remind.send_messages(bq_token, bq_secret, bq_text, bq_at) Remind.send_messages(bq_token, bq_secret, bq_text, bq_at)
except: except:
sleep(1500) sleep(10)
cls.zhiban() cls.zhiban()
@classmethod @classmethod
...@@ -107,7 +107,7 @@ class Task: ...@@ -107,7 +107,7 @@ class Task:
bq_at = {'atMobiles': [bq_num[currentday]]} bq_at = {'atMobiles': [bq_num[currentday]]}
Remind.send_markdown(bq_token, bq_secret, '值班提醒', bq_text, bq_at) Remind.send_markdown(bq_token, bq_secret, '值班提醒', bq_text, bq_at)
except: except:
sleep(1500) sleep(10)
cls.zhiban1() cls.zhiban1()
@classmethod @classmethod
......
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