22 lines
513 B
Python
22 lines
513 B
Python
from wechatpy.enterprise.client.api import WeChatUser
|
|
|
|
|
|
class JkmWechatUser(WeChatUser):
|
|
|
|
def get_detail(self, user_ticket):
|
|
"""
|
|
获取访问用户敏感信息
|
|
详情请参考
|
|
https://developer.work.weixin.qq.com/document/path/95833
|
|
|
|
:param user_ticket: 成员票据
|
|
:return: 返回的 JSON 数据包
|
|
"""
|
|
return self._post(
|
|
'user/getuserdetail',
|
|
data={
|
|
'user_ticket': user_ticket
|
|
}
|
|
)
|
|
|