Пример #1
0
        /// <summary>
        /// 移动用户分组
        /// </summary>
        /// <param name="openId">用户唯一标识符</param>
        /// <param name="toGroupId">分组id</param>
        /// <returns></returns>
        public static async Task <MoveUserToGroup> MoveAsync(string openId, int toGroupId)
        {
            var move     = new MoveUserToGroup(openId, toGroupId);
            var response = await move.RequestAsModelAsync <MoveUserToGroup>();

            return(response);
        }
Пример #2
0
        /// <summary>
        /// 移动用户分组
        /// </summary>
        /// <param name="openId">用户唯一标识符</param>
        /// <param name="toGroupId">分组id</param>
        /// <returns></returns>
        public static MoveUserToGroup Move(string openId, int toGroupId)
        {
            var move     = new MoveUserToGroup(openId, toGroupId);
            var response = move.RequestAsModel <MoveUserToGroup>();

            return(response);
        }