优化数据仓储

This commit is contained in:
不做码农
2021-11-27 09:43:04 +08:00
parent 640776181a
commit 67e1343e24
57 changed files with 689 additions and 627 deletions

View File

@@ -87,7 +87,7 @@ namespace ZR.Admin.WebApi.Controllers
//从 Dto 映射到 实体
var model = parm.Adapt<Gendemo>().ToCreate(HttpContext);
return SUCCESS(_GendemoService.Add(model, it => new
return SUCCESS(_GendemoService.Insert(model, it => new
{
it.Name,
it.Icon,