Skip to content

Commit

Permalink
Merge pull request IlineI#28 from chase535/main
Browse files Browse the repository at this point in the history
更新FarPush服务器,README添加MiPush黑名单紧急通知
  • Loading branch information
IlineI authored Sep 25, 2022
2 parents ec3e97a + 04f1d71 commit 5675d97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# !目前所有未上架小米应用商店的应用都被拉进了MiPush的小黑屋,包括“消息接收”以及“FarPush”,此程序的MiPush功能暂时无法正常工作!
# WeChatPush
微信消息推送到消息接收或FarPush或WirePusher

Expand Down
2 changes: 1 addition & 1 deletion WeChatPush/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#tdtt_interface = 'https://send.tdtt.top'

# FarPush的接口
FarPush_interface = 'http://119.3.139.212:9090/PushWeChatMes'
FarPush_interface = 'http://124.70.44.216:9090/PushWeChatMes'

#WirePusher的接口
WirePusher_interface = 'https://wirepusher.com/send'
2 changes: 1 addition & 1 deletion WeChatPush/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def data_send(url, **kwargs):
def simple_reply(msg):
notify = 0
if int(value.get('shield_mode')):
if not int(msg.get('ChatRoom')) or str(msg.get('NickName')) in list(value.get('whitelist')): # 白名单模式,白名单群消息放行
if not int(msg.get('ChatRoom')) or str(msg.get('NickName')) in list(value.get('whitelist')):
notify = 1
elif str(msg.get('NickName')) not in list(value.get('blacklist')):
notify = 1
Expand Down

0 comments on commit 5675d97

Please sign in to comment.