使用Java实现发送模板消息
发布于 4 年前 作者 qiangxia 9352 次浏览 来自 问答
https://api.weixin.qq.com/cgi-bin/wxopen/template/library/list?access_token=ACCESS_TOKEN

该接口总是返回

{“errcode”:-1,“errmsg”:“system error hint: [0yUfCA0709vr20]”}

3 回复

谢谢兄弟,解决了

StringEntity entity = new StringEntity(JSONObject.toJSONString(map), “utf-8”);

entity.setContentEncoding(“UTF-8”);

entity.setContentType(“application/json”);

httpPost.setEntity(entity);

解决了吗?我也遇到了。请问怎么解决的

回到顶部