更换钉钉机器人

This commit is contained in:
2018-06-01 16:31:56 +08:00
parent 14d7e86dc9
commit 9ee5aeaa7b
+2 -2
View File
@@ -135,8 +135,8 @@ def send_ding_msg(msg):
headers = {
'Content-Type': "application/json",
}
url = "https://oapi.dingtalk.com/robot/send" \
"?access_token=2307d2fec8314b3e8b4b83dd1d42da2e2051638e3e668f21e77ca01258bf682c"
url = "https://oapi.dingtalk.com/robot/send?access_token=35587c9e7accc54ff7ddf2c6ebdc36" \
"a3ba065b4a2bdac78c0e9928596361b430"
text_body = {
"msgtype": "text",