更新 WeChatMsgForwarderController.java
parent
69800cd27b
commit
c18e126dfd
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue