Commit feb9a353 by 陈森彬

调整

parent 82cf37aa
Showing with 1 additions and 1 deletions
...@@ -50,7 +50,7 @@ def dd_send_msg(msg, robot=tom): ...@@ -50,7 +50,7 @@ def dd_send_msg(msg, robot=tom):
m.update(str(cur_time).encode()) m.update(str(cur_time).encode())
d.update((m.hexdigest() + 'fh6y5t4rr351d2c3bryi').encode()) d.update((m.hexdigest() + 'fh6y5t4rr351d2c3bryi').encode())
data = {'data': "{\"content\": \"%s\"}" % (content), 'touser': "[\"15113123231\",\"18594239421\"]", 'keyword': 'monitoring-py', data = {'data': "{\"content\": \"%s\"}" % (content), 'touser': "[\"15113123231\"]", 'keyword': 'monitoring-py',
'fromuser': '', 'wechat_data': '', 'is_oversea': '', 'channel_type': '', 'is_ignore': '', 'ex_int': '', 'fromuser': '', 'wechat_data': '', 'is_oversea': '', 'channel_type': '', 'is_ignore': '', 'ex_int': '',
'ex_str': '', 'k2': d.hexdigest(), 'k1': str(cur_time)} 'ex_str': '', 'k2': d.hexdigest(), 'k1': str(cur_time)}
requests.post(msgapi_url, data=data) requests.post(msgapi_url, data=data)
......
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