public IActionResult UpdUser(AccountInfo a) { int h = 0; try { h = bll.UpdUser(a); } catch (Exception ex) { log.Error(ex.Message); } return(Ok(new { state = h > 0 ? true : false, msg = h > 0 ? "修改成功" : "修改失败" })); }