预期 接收小程序的客服发送文本消息回调:
{
"ToUserName": "toUser",
"FromUserName": "fromUser",
"CreateTime": 1482048670,
"MsgType": "text",
"Content": "this is a test",
"MsgId": 1234567890123456
}
实际接收小程序的客服消息回调:
{"ToUserName":"gh_9b0f30c01f12",
"FromUserName":"oORkF5ohDCIE_L9Agh30KI8BDXlM",
"CreateTime":1586492894,
"MsgType":"event",
"Event":"user_enter_tempsession","
SessionFrom":"wxapp"}
为什么会接收小程序的客服消息回调缺少Content字段
"MsgType":"event", 这是个点击事件,就是刚进入客服会话,还没有发消息。就没有content字段,阅读理解题