更新推送地址,修复缓存发送失败的bug

This commit is contained in:
tt-ali 2024-10-21 16:42:37 +08:00 committed by tt-ali
parent 88f43cbb4a
commit 4a766b34b5

View File

@ -87,11 +87,12 @@ def s2wx(title="",description="", content=""):
def send():
c= " \n".join(msgcache[:3])
try:
res = requests.post("https://msgpusher.com/push/test111", json={
res = requests.post("http://8.137.110.19:4014/push/murmur", json={
"title": title,
"description": description,
"content": c,
"token": "tt"})
"channel":"all-TT",
"token": "gjvL2gMZqj326isgafmz"})
logger.debug("msgpusher {}",res)
except:
logger.error("msgpusher error");