Skip to content

企微回调xml中MsgId已更新为String,无法再用Long接收 #3714

@DemosBin

Description

@DemosBin

问题描述:
4.7.0版本demo中,解析回调消息失败,报错:java.lang.NumberFormatException: For input string: "CAIQg/PKxgYY2sC9tpuAgAMg9/zKaw=="
环境:
企微版本:版本 5.0.0.99730
weixin-java-cp.version:4.7.0
排查原因
4.7.0版本中,WxCpXmlMessage类中定义msgId为Long类型,实际使用中发现,解析xml结果为String
现象截图:
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions