我在第三方设置的是
消息与事件接收配置:
https://aac-dev.xin-lai.com/api/school/wx/$APPID$/callback/cgi
然后我后台写的是@PostMapping(value ="/{APPID}/callback/cgi")
public String acceptMessageAndEvent(HttpServletRequest request, @PathVariable("APPID") String appid) {
String nonce = request.getParameter("nonce");
String timestamp = request.getParameter("timestamp");
String msgSignature = request.getParameter("msg_signature");
Log.error(msgSignature+"------------信息是·");
return "success";
}这样怎么实现啊,我很急,卡了我一个礼拜了,我不知道第三方有没有发消息给我,我扫码的反馈和授权的反馈都不知道呜呜呜,请求支援
你好,可以随便找个授权小程序或者公众号触发消息推送就行了
公众号的例如:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html
小程序的例如:https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/privacy-api-management/applyPrivacyInterface.html