public IActionResult InsertInformationsheet(Informationsheet i) { int h; try { h = bll.InsertInformationsheet(i); } catch (Exception ex) { log.Error(ex.Message); throw; } return(Ok(new { state = h > 0 ? true : false, msg = h > 0 ? "添加成功" : "添加失败" })); }