Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyMerlin committed May 30, 2024
1 parent 3303256 commit f723868
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ANotify/Nwecom.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def send_msg_markdown(self, text):
"touser": "@all",
"msgtype": "markdown",
"agentid": self.agentid,
"text": {
"markdown": {
"content": text
},
"safe": 0,
Expand Down Expand Up @@ -268,8 +268,9 @@ def get_img_info(self, img_path):
# 应用ID
AgentId = ''

# wn = WxNotify(corpid=CORPID, corpsecret=CORPSECRET, agentid=AgentId)
wn = WxNotify(corpid=CORPID, corpsecret=CORPSECRET, agentid=AgentId)
# print(wn.send_msg("test message"))
# wn.send_msg_markdown("**Hello**\n- test1\n- [ANotify]")

wn_webhook = WxWebhookNotify("")
# wn_webhook.send_file("E:/Desktop/gpt/Cursor_Demo/test.png")
Expand Down

0 comments on commit f723868

Please # to comment.