更新推送地址,修复缓存发送失败的bug
This commit is contained in:
parent
88f43cbb4a
commit
4a766b34b5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user