企业微信消息发送测试代码(截至到学校违纪委员会意见
)
This commit is contained in:
@@ -157,7 +157,7 @@ public class WeChatUtil {
|
||||
String url = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=" + accessToken;
|
||||
|
||||
JSONObject msg = new JSONObject();
|
||||
msg.put("touser", toUser);
|
||||
msg.put("touser", "2023429229");
|
||||
msg.put("msgtype", "text");
|
||||
msg.put("agentid", weChatConfig.getAgentId());
|
||||
|
||||
|
Reference in New Issue
Block a user