public async Task <IActionResult> UpdateIssueStatus(Issue model) { var issue = await _issueBll.GetAsync(model.PrimaryKey); issue.Status = model.Status; issue.Update(Request.RequestUser().UserId); await _issueBll.UpdateAsync(issue); //日志 await _logBll.AddAsync( Request.RequestUser().UserId, Request.RequestUser().UserName + "更新了问题【" + issue.Summary + "】状态为" + issue.Status.ToString() + "", Json.Serialize(issue), issue.ProjectId ); return(new JsonResult(new { success = true })); }