Files
sixGuoDjango/wechat_项目工具包/企业微信工具包/企业推广二维码接口.py
T
2026-08-02 14:07:04 +08:00

12 lines
680 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
class wecom推广二维码:
@classmethod
def 设置授权应用可见范围(cls):
"""
调用该接口前提是开启通讯录迁移,收到授权成功通知后可调用。企业注册初始化安装应用后,应用默认可见范围为根部门。
如需修改应用可见范围,服务商可以调用该接口设置授权应用的可见范围。
该接口只能使用注册完成回调事件或者查询注册状态返回的access_token,
调用设置通讯录同步完成后或者access_token超过30分钟失效(即解除通讯录锁定状态)则不能继续调用该接口
:return:
:rtype:
"""