Beispiel #1
0
        /// <summary>
        /// 注销用户
        /// </summary>
        async Task <bool> OverAsync()
        {
            if (!await leijun.LogoutAsync())
            {
                logger.ErrorFormat("Logout Fail, {0}", leijun.AppAccount);
                return(false);
            }
            if (!await linbin.LogoutAsync())
            {
                logger.ErrorFormat("Logout Fail, {0}", linbin.AppAccount);
                return(false);
            }

            Thread.Sleep(1000);
            return(true);
        }