public async Task <ResponseMessage <LimitInfoResponse> > Get(UserInfo User, [FromRoute] string userId) { var r = new ResponseMessage <LimitInfoResponse>(); try { r = await _limitManager.GetDetail(User, userId); } catch (Exception e) { r.Code = ResponseCodeDefines.ServiceError; r.Message = "服务器错误:" + e.Message; Logger.Error("获取费用限额设置详情失败:\r\n{0}", e.ToString()); } return(r); }