public JsonResult CancelUserVip(int id) { AjaxResult result = new AjaxResult(); try { UserService service = new UserService(); if (!service.CancelUserVip(id)) { result.ExceptionInfo = "取消用户VIP失败"; } } catch (Exception ex) { LogService.Log("CancelUserVip", ex.ToString()); result.ExceptionInfo = "取消用户VIP失败"; } return Json(result); }