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