Ejemplo n.º 1
0
        /// <summary>
        /// 更新被禁止的用户
        /// </summary>
        /// <param name="groupid">用户组id</param>
        /// <param name="groupexpiry">过期时间</param>
        /// <param name="uid">用户id</param>
        public static void UpdateBanUser(int groupid, string groupexpiry, int uid)
        {
            DatabaseProvider.GetInstance().UpdateBanUser(groupid, groupexpiry, uid);

            if (appDBCache)
                IUserService.UpdateBanUser(groupid, groupexpiry, uid);
        }