企业微信【企业内部开发】有关回调的两个问题

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

AI助手支持GPT4.0

企业微信【企业内部开发】有关回调的两个问题
问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug 通讯录回调通知 工具 3.0.23 2.0.0

在使用企业微信开发,使用【企业内部开发】模式,API调用中,目前遇到了两个问题

1、在通讯录回调通知中,是否只会回调一次,比如第一次回调失败了,不会再次尝试请求?

我测试结果:当我停止我方服务时,在企业微信端新增了一成员成功后,然后在启动我方服务,将没有收到该 通讯通回调通知。

2、编辑成员部门的回调事件?只变更成员主部门信息,没有回调通知?

我测试结果:比如该成员所属三个部门,他所属的部门个数不变(不增加也不减少),然后我再已有的三个部门中,重新设置另一个主部门,再保存编辑,将没有回调通知。

麻烦请帮我解答下上面这两个疑问,谢谢!


Problem type API / component name terminal type wechat version basic library version bug address book callback notification tool 3.0.23 2.0.0 in using enterprise wechat development and using [enterprise internal development] mode, two problems have been encountered in API call 1. In the callback notification of address book, will the callback be made only once, for example, if the first callback fails, the request will not be tried again? My test result: when I stop our service, I will not receive the call back notice of this communication after I add a member to the wechat end of the enterprise successfully and then start our service. 2. Call back the member's department to edit the event? Only change the member's main department information without callback notice? My test results: for example, if the member belongs to three departments, the number of his / her departments remains unchanged (no increase or decrease), and then I reset another main department among the three existing departments, and then save the editing. There will be no callback notice. Please help me to answer the above two questions, thank you!

回答:

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

您好,通讯录回调如果第一次回调失败是会进行再次重试,总共重试三次,三次都没有返回不再重试,新增成员,重新启动服务,是否是在5s内进行的,2 新增部门没有回调事件,可以给下corpid 变更时间点和部门名称看下

我在:好的,谢谢,第一个问题明白了。


第二个问题,不是新增部门没有回调事件,我的疑问是:  是成员修改主部门没有回调事件,请问是否是不支持该回调通知呢?


(修改主部门的场景具体操作: 比如该成员所属三个部门,他所属的部门个数不变(不增加也不减少),然后我再已有的三个部门中,重新设置另一个主部门,再保存编辑,将没有回调通知。 )


麻烦请帮我再次解答下该疑问,谢谢!
企业微信运营专员-千夜:这个场景修改主部门的目前是暂时的没有回调

-EOF-

AI助手支持GPT4.0