-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
该公众号提供服务出现故障,请稍后重试 #3312
Comments
能否贴一下本地的日志呢? |
回调处理地址就直接返回 // 事件处理, 直接就WxMpXmlOutMessage返回null,我是异步发送的客服消息 |
按照此文档,需要返回 |
其次建议异步调用客服消息,否则可能因为调用客服消息响应时间过长导致公众号无法及时收到相应 |
WxMpMessageHandler 我返回的都是 null,都是异步处理 |
提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,尤其是常见问题部分。完成内容后,请务必移除包括本句在内的无用内容,以免影响阅读,否则直接关闭,谢谢合作~
另外如果确认属于bug,而且已明确如何修复,请参考贡献指南直接提交PR,省的浪费时间在这里描述问题,非常感谢配合
简要描述
对接公众号品台能力,自动回复总是出现 提供服务故障
模块版本情况
详细描述
回调代码
public ResponseEntity post(final String appid, final HttpServletRequest request, final String requestBody) {
String encType = request.getParameter("encrypt_type");
String nonce = request.getParameter("nonce");
String timestamp = request.getParameter("timestamp");
String msgSignature = request.getParameter("msg_signature");
String signature = request.getParameter("signature");
String openid = request.getParameter("openid");
log.info("接收微信请求:[openid=[{}], [openid=[{}],[signature=[{}], encType=[{}], msgSignature=[{}],"
+ " timestamp=[{}], nonce=[{}], requestBody=[{}] ",
appid, openid, signature, encType, msgSignature, timestamp, nonce, requestBody);
// 这里异步发送客服消息
return ResponseEntity.ok("");
}
配置信息
public WxMpMessageRouter messageRouter(final WxMpService wxMpService) {
final WxMpMessageRouter newRouter = new WxMpMessageRouter(wxMpService);
}
The text was updated successfully, but these errors were encountered: