更新 WeChatMsgForwarderController.java

This commit is contained in:
2023-12-22 14:16:33 +08:00
parent 69800cd27b
commit c18e126dfd

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.");