mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-05 09:10:53 +08:00
DDD 应用层完善
This commit is contained in:
@@ -8,9 +8,7 @@ using Yi.Framework.Core;
|
||||
using Yi.Framework.Core.AutoMapper;
|
||||
using Yi.Framework.Core.Extensions;
|
||||
using Yi.Framework.Core.Sqlsugar;
|
||||
using Yi.Framework.Core.Sqlsugar.Repository;
|
||||
using Yi.Framework.Ddd;
|
||||
using Yi.Framework.Ddd.Repository;
|
||||
using Yi.Framework.Domain;
|
||||
using Yi.Framework.Domain.Shared;
|
||||
using Yi.Framework.Sqlsugar;
|
||||
@@ -41,8 +39,5 @@ builder.UseYiModules(
|
||||
builder.Host.UseAutoFacServerProviderFactory();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
//使用动态api
|
||||
app.UseAutoApiService();
|
||||
app.MapControllers();
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user