From ce2d8051084c04d45de390d611ba2b3c4cc3d964 Mon Sep 17 00:00:00 2001 From: Johnliu <155313697@qq.com> Date: Thu, 20 Aug 2020 18:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E6=8E=A8=E9=80=81=E7=9A=84=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E4=B8=AD=E7=9A=84=E5=B7=A5=E5=8D=95=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B6=85=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/utils/sendmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils/sendmsg.py b/common/utils/sendmsg.py index 2bf9f882ed..10e85ef732 100755 --- a/common/utils/sendmsg.py +++ b/common/utils/sendmsg.py @@ -191,7 +191,7 @@ def send_qywx_webhook(self,qywx_webhook, msg): data = { "msgtype": "markdown", "markdown": { - "content": msg + "content": msg.replace('工单地址:', '工单地址:[请点击链接](').replace('\n工单详情预览:', ')\n工单详情预览:') }, } res = requests.post(url=send_url, json=data, timeout=5)