添加功能
This commit is contained in:
@@ -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="详情"):
|
||||
|
||||
Reference in New Issue
Block a user