zhengcaioa/Services/ProjectService.cs
@@ -1423,5 +1423,25 @@ } public ResultEntity saveProjectfasongxiaoxi(Projectfasongxiaoxi project) { ResultEntity resultEntity = new ResultEntity(); try { project.Id = Guid.NewGuid().ToString(); _context.Projectfasongxiaoxis.Add(project); _context.SaveChanges(); resultEntity.ReturnID = project.Id; resultEntity.Result = true; } catch (Exception ex) { resultEntity.Result = false; resultEntity.Message = "保存失败,请联系管理员"; } return resultEntity; } } }