- 微信客服消息无法接受?
之前测试添加了推送消息的配置,后台可以正常接受消息,然后在客服菜单添加客服后,后台就无法接受消息了,删除客服后,后台就又可以正常接受微信推送,如何实现后台和客服都能接收消息呢
2020-07-31 - 微信客服接入,收不到消息?
格式选择的是json,可以收到消息,看文档说需要在返回的消息中加入("MsgType", "transfer_customer_service") [图片] 收到的消息如下: 解密后明文: { "ToUserName": "gh_19da4c7472da", "FromUserName": "oLE6_4kY0XSnVP1NT7OjMHKjdItQ", "CreateTime": 1596168309, "MsgType": "text", "Content": "vv", "MsgId": 22851636257441486 } 返回的消息如下: {"Content":"g","CreateTime":123,"FromUserName":"oLE6_4kY0XSnVP1NT7OjMHKjdItQ","MsgId":"22851643274451836","MsgType":"transfer_customer_service","ToUserName":"gh_19da4c7472da"} 这样对吗,返回的数据需要加密吗,如果需要,加密格式跟收到的流中格式一致吗 我返回加密消息如下,但客服页面也没有数据 { "Encrypt":"0DbbcN2uTBZkWBHNwA63XgpWuY2n8EqG70w8IimPDlL9orG04FMk3rRPhF9g24ovqZToweXUXqZSOI3nbaAVLk/+rjqHaK64sQhJw9eC1J/fuL19aOSxg/6v4bMYxiZXKRSuABFt2VLaJyXSgjlz52Q2Rsf8v0oFSq+T4A9dzT8fU+N5No+Z0MZwtgNcQ8ClX56lkjBD2EXZz0T4rooOsENVUcGYY0jT2JaLxwD/K+cqa/BvuChPs9+qXtpCjfj7G0m5HcLDNeMhezlZ1twCze8AM+LLv4QNLbVhJZ2wZRU=", "MsgType":"transfer_customer_service", "ToUserName":"gh_19da4c7472da" } 上面密文的原始数据是: {"Content":"g","CreateTime":123,"FromUserName":"oLE6_4kY0XSnVP1NT7OjMHKjdItQ","MsgId":"22851646338480949","MsgType":"transfer_customer_service","ToUserName":"gh_19da4c7472da"}
2020-07-31