From b81a56417e180e6fec29e7a8bb5f5c37af29aed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Thu, 15 Jan 2026 18:15:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_wechat/models/wecom_apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_wechat/models/wecom_apps.py b/yuthon_wechat/models/wecom_apps.py index 37dd53cbb..85f804157 100644 --- a/yuthon_wechat/models/wecom_apps.py +++ b/yuthon_wechat/models/wecom_apps.py @@ -106,6 +106,7 @@ class WeComApps(models.Model): token = self.env['wecom.apps'].search([('name', '=', '审批消息通知')])['access_token'] data = {'msgid': msg_id} url = f'https://qyapi.weixin.qq.com/cgi-bin/message/recall?access_token={token}' + _logger.info(f"------------------------获取msg_id:{msg_id}tokenID:{token}当前url{url}-------------------------------") requests.post(url=url, data=json.dumps(data)) def sync_send_message_textcard(self, content_item='', touser='', category='default', user_id=None, title="", description="", url="", btntxt="详情"):