Commit 25bff0be by 陈森彬

测试机器人告警

parent 45e706ad
Showing with 1 additions and 1 deletions
......@@ -55,7 +55,7 @@ def dd_send_msg(msg, robot=tom_key):
m.update(str(cur_time).encode())
d.update((m.hexdigest() + 'fh6y5t4rr351d2c3bryi').encode())
robots_logger.info(f"构造警告短信的内容:{content}")
data = {'data': "{\"content\": \"%s\"}" % (content), 'touser': "[\"18211280017\",\"15113123231\"]",
data = {'data': "{\"content\": \"%s\"}" % (content), 'touser': "[\"15113123231\"]",
'keyword': 'monitoring-py',
'fromuser': '', 'wechat_data': '', 'is_oversea': '', 'channel_type': '', 'is_ignore': '', 'ex_int': '',
'ex_str': '', 'k2': d.hexdigest(), 'k1': str(cur_time)}
......
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 sign in to comment