发送appmsg消息
(String appId, String toWxid, String appmsg)
| 110 | * 发送appmsg消息 |
| 111 | */ |
| 112 | public static JSONObject postAppMsg(String appId, String toWxid, String appmsg) { |
| 113 | JSONObject param = new JSONObject(); |
| 114 | param.put("appId", appId); |
| 115 | param.put("toWxid", toWxid); |
| 116 | param.put("appmsg", appmsg); |
| 117 | return OkhttpUtil.postJSON("/message/postAppMsg", param); |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * 发送小程序消息 |