官方文档
https://work.weixin.qq.com/api/doc#90000/90136/91770/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E7%BE%A4%E6%9C%BA%E5%99%A8%E4%BA%BA
使用python完成
# -*- coding: utf-8 -*-
import requests
from information_lc import telephone
url=‘XXX’ 输入添加群机器人后的webhook地址
headers={
'Content-Type': 'text/plain',
}
telephone_list=[telephone.get('zzg'),telephone.get('pff'),]
data={
"msgtype": "text",
"text": {
"content": """3.6.1版本油烟的 前台 更新完毕,清除缓存后查看
""",
"mentioned_mobile_list":telephone_list,
}
}
requests.post(url=url,headers=headers,json=data)
构建任务,步骤简单,就是用python运行指定文件
在其他项目中添加构建后操作,build other projects
选择所创建的任务