コード例 #1
0
        public Respbase <List <DaRenInfoDto> > GetDefaultDaRens(GetDefaultDaRenReq req)
        {
            DaRenFacade facade = new DaRenFacade();
            var         result = facade.GetDefaultDaRens(req);

            if (result != null)
            {
                return(new Respbase <List <DaRenInfoDto> > {
                    Result = 1, Message = "成功", Data = result
                });
            }
            return(new Respbase <List <DaRenInfoDto> > {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }