예제 #1
0
        async Task <bool> ReadyAsync()
        {
            if (!await leijun.LoginAsync())
            {
                logger.ErrorFormat("Login Fail, {0}", leijun.AppAccount);
                return(false);
            }


            if (!await linbin.LoginAsync())
            {
                logger.ErrorFormat("Login Fail, {0}", linbin.AppAccount);
                return(false);
            }

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