发送文字消息
(String appId, String toWxid, String content, String ats)
| 12 | * 发送文字消息 |
| 13 | */ |
| 14 | public static JSONObject postText(String appId, String toWxid, String content, String ats) { |
| 15 | JSONObject param = new JSONObject(); |
| 16 | param.put("appId", appId); |
| 17 | param.put("toWxid", toWxid); |
| 18 | param.put("content", content); |
| 19 | param.put("ats", ats); |
| 20 | return OkhttpUtil.postJSON("/message/postText", param); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * 发送文件消息 |