GetPermList 获取应用的可见范围 see https://developer.work.weixin.qq.com/document/path/93172
()
| 29 | // GetPermList 获取应用的可见范围 |
| 30 | // see https://developer.work.weixin.qq.com/document/path/93172 |
| 31 | func (r *Client) GetPermList() (*GetPermListResponse, error) { |
| 32 | var ( |
| 33 | accessToken string |
| 34 | err error |
| 35 | ) |
| 36 | if accessToken, err = r.GetAccessToken(); err != nil { |
| 37 | return nil, err |
| 38 | } |
| 39 | var response []byte |
| 40 | if response, err = util.HTTPPost(fmt.Sprintf(getPermListURL, accessToken), ""); err != nil { |
| 41 | return nil, err |
| 42 | } |
| 43 | result := &GetPermListResponse{} |
| 44 | err = util.DecodeWithError(response, result, "GetPermList") |
| 45 | return result, err |
| 46 | } |
| 47 | |
| 48 | // GetLinkedCorpUserRequest 获取互联企业成员详细信息请求 |
| 49 | type GetLinkedCorpUserRequest struct { |
nothing calls this directly
no test coverage detected