在微信托管中设置消息推送,接口检查也通过了,日志打印出了测试的消息。但我自己给订阅号发送消息的时候确没有日志打印。这是我的代码,请大佬赐教!
@RestController
@RequestMapping("/weixin")
public class WeixinController {
@PostMapping("/msg")
public String handleTextMsg(@RequestBody String msg) {
System.out.println(msg);
return "success";
}
}
你好,麻烦补充下环境ID,消息推送的配置信息,以及问题发生时间。
时间:2021/11/27 19:25