public IActionResult UpdUsersUstatus(int Uid, int Ustatus) { int result; try { result = userGroupBll.UpdUserUstatus(Uid, Ustatus); } catch (Exception ex) { log.Error(ex.Message); throw; } return(Ok(new { state = result > 0?true:false, data = result > 0?"操作成功":"操作失败" })); }