新增加内部消息通知工具GenericMessageListener测试方法,待完整测试
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", "2023429229");
|
||||
msg.put("touser", toUser);
|
||||
msg.put("msgtype", "text");
|
||||
msg.put("agentid", weChatConfig.getAgentId());
|
||||
|
||||
|
Reference in New Issue
Block a user