|
@@ -51,9 +51,9 @@ public class WxPushReceptionController {
|
|
|
* 开发配置-开发资料-消息与事件接收配置
|
|
|
*/
|
|
|
@PostMapping("/msgEvent/{appId}")
|
|
|
- public String receptionMsgEvent(@RequestParam("timestamp") String timestamp,
|
|
|
- @RequestParam("nonce") String nonce,
|
|
|
- @RequestParam("msg_signature") String msgSignature,
|
|
|
+ public String receptionMsgEvent(@RequestParam(name = "timestamp", required = false) String timestamp,
|
|
|
+ @RequestParam(name = "nonce", required = false) String nonce,
|
|
|
+ @RequestParam(name = "msg_signature", required = false) String msgSignature,
|
|
|
@RequestBody String encryptedXmlBodyText,
|
|
|
@PathVariable String appId) {
|
|
|
LOGGER.info("微信通知转发服务-收到微信消息与事件通知-{}", encryptedXmlBodyText);
|