Пример #1
0
        protected virtual async Task <(UserInfoResult[] userInfoList, ResultState ResultState)> DoBatchGetUserInfo(IToken token
                                                                                                                   , string[] openIds, string lang)
        {
            var resp = await _userClient.BatchGetUserInfo(token.Token, new BatchGetUsersRequest(openIds, lang));

            return(await resp.ReadAsResults <UserInfoResult>("$.user_info_list[*]"));
        }