Merge branch 'master' into net6.0

This commit is contained in:
不做码农
2022-04-10 10:55:53 +08:00
24 changed files with 87 additions and 144 deletions

View File

@@ -106,7 +106,7 @@ namespace ZR.Admin.WebApi.Controllers
throw new CustomException("请求参数错误");
}
//从 Dto 映射到 实体
var model = parm.Adapt<SysConfig>().ToCreate();
var model = parm.Adapt<SysConfig>().ToCreate(HttpContext);
return SUCCESS(_SysConfigService.Insert(model, it => new
{