public async Task <PagingResponseMessage <LimitInfoResponse> > Search(UserInfo User, [FromBody] LimitSearchRequest request) { var r = new PagingResponseMessage <LimitInfoResponse>(); try { r = await _limitManager.Search(User, request); } catch (Exception e) { r.Code = ResponseCodeDefines.ServiceError; r.Message = "服务器错误:" + e.Message; Logger.Error("查询费用限额设置失败:\r\n{0}", e.ToString()); } return(r); }