public HttpResponseMessage GetBrokerInfo(int id)
        {
            try
            {
                var model = _brokerRecClientService.GetBrokerRECClientById(id);
                if (model == null) return PageHelper.toJson(PageHelper.ReturnValue(false, "该条记录不存在"));
                var model2 = new BrokerRECClientModel
                {
                    Id = model.Id,
                    Broker = model.Broker.Id
                };

                return PageHelper.toJson(model2);
            }
            catch (Exception)
                {
                    return PageHelper.toJson(PageHelper.ReturnValue(false, "数据库连接失败"));
                }
        }
        public HttpResponseMessage GetAuditDetail(int id)
        {
            var model = _brokerRecClientService.GetBrokerRECClientById(id);
            var newModel = new BrokerRECClientModel
            {
                Id = model.Id,
                Broker = model.Broker.Id,
                NickName = model.Broker.Nickname,
                Brokername = model.Brokername,
                Brokerlevel = model.Brokerlevel,
                Sex = model.Broker.Sexy,
                RegTime = model.Broker.Regtime.ToString("yyy-MM-dd"),

                Clientname = model.Clientname,
                HouseType = model.ClientInfo.Housetype,
                Houses = model.ClientInfo.Houses,
                Note = model.ClientInfo.Note,
                BrokerPhone = model.Phone,
                Phone = model.ClientInfo.Phone,
                Projectname = model.Projectname
               
            };

            return PageHelper.toJson(newModel);
        }