first commit

This commit is contained in:
2024-07-02 13:54:57 +08:00
commit 04a83926d7
112 changed files with 13631 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import requests
import json
import time
def reboot_send(mes_reboot):
data = {
"msgtype": "markdown",
"markdown": {
"content": mes_reboot,
}
}
r = requests.post(url='https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=c6f7d16f-5e5a-4e7e-b23c-a8516bfa47a6',
json=data)
if __name__ == '__main__':
mes1 = "# 标题\n" \
"[这是一个链接](http://work.weixin.qq.com/api/doc)\n" \
"@郭安"
reboot_send(mes1)