def get_member_infomation(self,userid): url = "https://qyapi.weixin.qq.com/cgi-bin/user/get" params = { 'userid' : userid } r = self.send("GET",url,params=params) return r.json()
url = “https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=USERID”
大写字体部分(红色)要被替换成token
问号后面可以用params替换