示例#1
0
        public SiteSummaryInfo QuerySiteSummary()
        {
            var balanceManager = new UserBalanceManager();
            var fundManager    = new FundManager();
            var m = balanceManager.QueryCommonAndBonusMoney();

            return(new SiteSummaryInfo
            {
                TodayRegisterUserCount = balanceManager.QueryRegisterUserCount(),
                MonthTotalFillMoney = fundManager.QueryMonthFillMoney(),
                MonthTotalWithdraw = fundManager.QueryMonthWithdraw(),
                TotalCommonMoney = m.TotalCommonMoney,
                TotalBonusMoney = m.TotalBonusMoney,
            });
        }