Appid: ****
昵称: ****
时间: 2022-05-26 15:29:44
内容: 微信服务器向公众号服务开发者推送component_verify_ticket时,得到的回应不合法(应返回success)
次数: 30分钟 9次
我这里的代码是返回了'success'的。
@Post('/getticket')
async getTicket(@Body() body, @Query() query) {
await this.wechatService.decryptTicket(body.xml.encrypt[0]);
return 'success';
}
难道说是要返回下面这种xml形式的吗?
return '<xml><![CDATA[SUCCESS]]></xml>'
你好 ,请提供第三方平台appid
后续有ticket相关问题可以参考排错指南进行自主排查https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/component_verify_ticket_troubleshooting.html
我现在是可以接收到正确的ticket。有没有可能是因为我更新了配置但还没有全网发布这个原因呢?