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