更新推送地址,修复缓存发送失败的bug
This commit is contained in:
parent
88f43cbb4a
commit
4a766b34b5
@ -87,11 +87,12 @@ def s2wx(title="",description="", content=""):
|
|||||||
def send():
|
def send():
|
||||||
c= " \n".join(msgcache[:3])
|
c= " \n".join(msgcache[:3])
|
||||||
try:
|
try:
|
||||||
res = requests.post("https://msgpusher.com/push/test111", json={
|
res = requests.post("http://8.137.110.19:4014/push/murmur", json={
|
||||||
"title": title,
|
"title": title,
|
||||||
"description": description,
|
"description": description,
|
||||||
"content": c,
|
"content": c,
|
||||||
"token": "tt"})
|
"channel":"all-TT",
|
||||||
|
"token": "gjvL2gMZqj326isgafmz"})
|
||||||
logger.debug("msgpusher {}",res)
|
logger.debug("msgpusher {}",res)
|
||||||
except:
|
except:
|
||||||
logger.error("msgpusher error");
|
logger.error("msgpusher error");
|
||||||
|
Loading…
Reference in New Issue
Block a user