更新 WeChatMsgForwarderController.java

pull/1/head
wangsiyuan 2023-12-22 14:16:33 +08:00
parent 69800cd27b
commit c18e126dfd
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class WeChatMsgForwarderController {
@PostMapping("/wechat")
public ServerResponseEntity receiveMsg(@RequestHeader("accessToken") String accessToken,
@RequestBody @Valid WeChatMsg weChatMsg){
logger.info("CallInfoO: {}",weChatMsg.toString());
logger.info("weChatMsg: {}",weChatMsg.toString());
if(accessToken == null){
logger.warn("Access token is missing or empty");
return ServerResponseEntity.fail("accessToken cannot be empty.");