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

            return(response);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }