企业微信外部客户拉黑后,建议在外部客户详细接口中增加状态字段

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:05 692 0 全屏看文

AI助手支持GPT4.0

企业微信外部客户拉黑后,建议在外部客户详细接口中增加状态字段

企业微信外部客户拉黑后,虽然在回调事件中可以更新用户的删除状态,但如果回调事件服务器故障,会导致用户的状态数据不准确。

建议在外部客户详细接口中follow_user增加状态字段:

请求地址:https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get?access_token=ACCESS_TOKEN&external_userid=EXTERNAL_USERID

  1. "follow_user":
  2. [
  3. {
  4. "userid":"rocky",
  5. "remark":"李部长",
  6. "description":"对接采购事务",
  7. "createtime":1525779812,
  8. "tags":
  9. [
  10. {
  11. "group_name":"标签分组名称",
  12. "tag_name":"标签名称",
  13. "type":1
  14. }
  15. ],
  16. "remark_corp_name":"腾讯科技",
  17. "remark_mobiles":
  18. [
  19. "13800000001",
  20. "13000000002"
  21. ],
  22. "oper_userid":"rocky",
  23. "add_way":1
  24. },
  25. {
  26. "userid":"tommy",
  27. "remark":"李总",
  28. "description":"采购问题咨询",
  29. "createtime":1525881637,
  30. "state":"外联二维码1",
  31. "oper_userid":"woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
  32. "add_way":3
  33. }
  34. ]


After the external customers of wechat are hacked, although the deletion status of users can be updated in the callback event, if the callback event server fails, the user's status data will be inaccurate. It is recommended to follow in the detailed interface of external customers_ User added status field: request address: https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get?access_ token=ACCESS_ TOKEN&external_ userid=EXTERNAL_ USERID "follow_ User ": [{" userid ":" Rocky "," remark ":" Minister Li "," description ":" docking purchase transaction "," creatime ": 1525779812," tags ": [{" group "_ Name: "tag group name", "tag"_ Name ":" tag name "," type ": 1}]," remark "_ corp_ Name: "Tencent technology", "remark"_ mobiles": [ "13800000001", "13000000002" ], "oper_ userid":"rocky", "add_ "Way": 1}, {"userid": "Tommy", "remark": "Mr. Li", "description": "purchasing consultation", "creatime": 1525881637, "state": external QR code 1 "," oper "_ userid":"woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA", "add_ way":3 } ]

回答:

企业微信运营专员-千夜:

您好,这里企业微信外部客户拉黑,也是没有回调事件的,目前回调事件只有删除事件,关于议在外部客户详细接口中follow_user增加状态字段我一起反馈下吧

H木兰:u

-EOF-

AI助手支持GPT4.0