Beispiel #1
0
        /// <summary>
        /// 批量移动用户分组
        /// </summary>
        /// <param name="openIdList">用户唯一标识符openid的列表(size不能超过50)</param>
        /// <param name="toGroupId">分组id</param>
        /// <returns></returns>
        public static async Task <BatchMoveUserToGroup> MoveAsync(string[] openIdList, int toGroupId)
        {
            var move     = new BatchMoveUserToGroup(openIdList, toGroupId);
            var response = await move.RequestAsModelAsync <BatchMoveUserToGroup>();

            return(response);
        }
Beispiel #2
0
        /// <summary>
        /// 批量移动用户分组
        /// </summary>
        /// <param name="openIdList">用户唯一标识符openid的列表(size不能超过50)</param>
        /// <param name="toGroupId">分组id</param>
        /// <returns></returns>
        public static BatchMoveUserToGroup Move(string[] openIdList, int toGroupId)
        {
            var move     = new BatchMoveUserToGroup(openIdList, toGroupId);
            var response = move.RequestAsModel <BatchMoveUserToGroup>();

            return(response);
        }