public IActionResult Save(dynamic dy) { if (api.Save(dy)) { return(Ok(Res.Success("操作成功!"))); } else { return(Ok(Res.Fail("操作失败!"))); } }
/// <summary> /// 保存数据信息 /// </summary> /// <param name="dy"></param> /// <returns></returns> public bool Save(dynamic dy) { return(api.Save(dy)); }