mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 05:46:08 +08:00
Update notify.py
修复企业微信推送错误
This commit is contained in:
parent
e7be4999b0
commit
76d452ccd2
|
@ -456,7 +456,7 @@ class WeCom:
|
|||
return respone["errmsg"]
|
||||
|
||||
def send_mpnews(self, title, message, media_id, touser="@all"):
|
||||
send_url = f"https://{self.ORIGIN}/cgi-bin/message/send?access_token={self.get_access_token()}"
|
||||
send_url = f"{self.ORIGIN}/cgi-bin/message/send?access_token={self.get_access_token()}"
|
||||
send_values = {
|
||||
"touser": touser,
|
||||
"msgtype": "mpnews",
|
||||
|
|
Loading…
Reference in New Issue
Block a user