예제 #1
0
        public Result <List <LogTrade> > ListLogTrade()
        {
            List <LogTrade> lst          = LogTradeDA.List();
            int             status_trade = MonitorRA.GetStatusTrade();

            if (status_trade == 1)
            {
                lst.Last().state = "交易中";
            }
            else if (status_trade == 2)
            {
                lst.Last().state = "已暂停";
            }
            return(Result(lst));
        }