Commit a850fe8d authored by yz's avatar yz

增加@所有人

parent 8ace3765
......@@ -31,7 +31,9 @@ class DDMessage:
"text": {
"content": message
},
"isAtAll": True
"at":{
"isAtAll": True}
}
r = requests.post(url=url,data=json.dumps(message),headers=headers).json()
print(r)
......@@ -52,8 +54,8 @@ content2 = "bug请及时上报jira并更新状态:http://jira.dui88.com"
content3 = "业务文档请及时更新:http://cf.dui88.com/pages/viewpage.action?pageId=78912619"
# 发送信息
DDMessage.send_message(fullUrl,content1)
DDMessage.send_message(fullUrl,content2)
DDMessage.send_message(fullUrl,content3)
# DDMessage.send_message(fullUrl,content2)
# DDMessage.send_message(fullUrl,content3)
......
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