public async Task <IActionResult> UpdateProject(Project project) { project.Update(Request.RequestUser().UserId); await _projectBll.UpdateAsync(project); //日志 await _logBll.AddAsync( Request.RequestUser().UserId, Request.RequestUser().UserName + "修改了项目:" + project.Name, Json.Serialize(project), project.PrimaryKey ); return(new JsonResult(new { success = true })); }