Example #1
0
        public ActionResult Welcome()
        {
            //获取首页最新消息列表
            Result <List <Msg_Message> > result = new Result <List <Msg_Message> >();

            using (MessageClientProxy proxy = new MessageClientProxy(ProxyEx(Request)))
            {
                result = proxy.GetMessageNoReadList(CurrentUser.UserId, CurrentUser.CompanyId, 7);
                ViewBag.MessageList = result.Data;
            }
            return(View());
        }