Commit 7860ca4f authored by 刘丙寅's avatar 刘丙寅

修改文案和时间

parent c56bd670
...@@ -7,7 +7,7 @@ def test(): ...@@ -7,7 +7,7 @@ def test():
from datetime import timedelta from datetime import timedelta
today = date.today() today = date.today()
format_today = today.strftime("%Y%m%d") format_today = today.strftime("%Y%m%d")
tomorrow = today + timedelta(days=2) tomorrow = today + timedelta(days=1)
format_tomorrow = tomorrow.strftime("%Y%m%d") format_tomorrow = tomorrow.strftime("%Y%m%d")
print(format_today) print(format_today)
print(format_tomorrow) print(format_tomorrow)
...@@ -34,7 +34,7 @@ def test(): ...@@ -34,7 +34,7 @@ def test():
else: else:
message = worker message = worker
dd_url = "https://oapi.dingtalk.com/robot/send?access_token=062ab7f98f47c85e6c200efd21ae5d532e4f1bbfd6782ae1268b9a1f4d3dc7b9" dd_url = "https://oapi.dingtalk.com/robot/send?access_token=062ab7f98f47c85e6c200efd21ae5d532e4f1bbfd6782ae1268b9a1f4d3dc7b9"
text = "明日开始休息:值班人员为:%s 值班人员记得带 电脑,手机 vpn环境" % {message} text = "明日开始休息:本次值班人员为:%s 值班人员记得带 电脑,手机, vpn环境" % {message}
json_text = { json_text = {
"msgtype": "text", "msgtype": "text",
"at": { "at": {
......
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