Beispiel #1
0
        /// <summary>
        /// 获取用户列表
        /// </summary>
        /// <returns></returns>
        public static QueryUsers Query()
        {
            var q        = new QueryUsers(null);
            var response = q.RequestAsModel <QueryUsers>();

            return(response);
        }
Beispiel #2
0
        /// <summary>
        /// 获取用户列表
        /// </summary>
        /// <param name="nextOpenId">用户列表开始位置</param>
        /// <returns></returns>
        public static QueryUsers Query(string nextOpenId)
        {
            var q        = new QueryUsers(nextOpenId);
            var response = q.RequestAsModel <QueryUsers>();

            return(response);
        }
Beispiel #3
0
        /// <summary>
        /// 获取用户列表
        /// </summary>
        /// <param name="nextOpenId">用户列表开始位置</param>
        /// <returns></returns>
        public static async Task <QueryUsers> QueryAsync(string nextOpenId)
        {
            var q        = new QueryUsers(nextOpenId);
            var response = await q.RequestAsModelAsync <QueryUsers>();

            return(response);
        }
Beispiel #4
0
        /// <summary>
        /// 异步获取用户列表
        /// </summary>
        /// <returns></returns>
        public static async Task <QueryUsers> QueryAsync()
        {
            var q        = new QueryUsers(null);
            var response = await q.RequestAsModelAsync <QueryUsers>();

            return(response);
        }