官方文档地址:https://work.weixin.qq.com/api/doc/90000/90135/90664
1.企业微信获取token
2.根据手机号获取userId
keyvalueurl地址https://qyapi.weixin.qq.com/cgi-bin/user/getuserid?access_token=ACCESS_TOKEN请求类型post请求参数mobile(String 手机号)、access_token(String token)3.根据userID发送应用卡片消息
keyvalueurl地址https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN请求类型post请求参数touser(String 用户ID数组字符串)、msgtype(String 应用消息类型)、title(String 标题) 、description(String 描述)、url(String 地址)、btntxt(String 卡片底部文字)4.根据userID发送应用文字消息
keyvalueurl地址https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN请求类型post请求参数touser(String 用户ID数组字符串)、msgtype(String 应用消息类型)、title(String 标题) 、description(String 描述)、url(String 地址)、btntxt(String 卡片底部文字)记录备忘,方便查询。