diff --git a/.idea/misc.xml b/.idea/misc.xml index 5ae3a3c..650ef91 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/.idea/ptools.iml b/.idea/ptools.iml index 8114c7e..261fb4d 100644 --- a/.idea/ptools.iml +++ b/.idea/ptools.iml @@ -17,7 +17,7 @@ - + diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index f7d8852..3b3c483 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -118,7 +118,10 @@ class PtSpider: corp_id=notify.corpid, secret=notify.corpsecret, agent_id=notify.agentid, ) - res = notify_push.send_markdown(text) + res = notify_push.send_text( + text=text, + to_uid=notify.touser if notify.touser else '@all' + ) print(res)