添加automapper的依赖注入
This commit is contained in:
@@ -57,6 +57,10 @@ builder.Services.AddSqlsugarServer();
|
||||
#endregion
|
||||
builder.Services.AddQuartzService();
|
||||
#region
|
||||
//AutoMapperע<72><D7A2>
|
||||
#endregion
|
||||
builder.Services.AddAutoMapperService();
|
||||
#region
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>+<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#endregion
|
||||
builder.Services.AddControllers(optios => {
|
||||
@@ -150,7 +154,7 @@ app.UseCorsService();
|
||||
#region
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
|
||||
#endregion
|
||||
app.UseHealthCheckMiddleware();
|
||||
app.UseHealthCheckService();
|
||||
#region
|
||||
//<2F><>Ȩע<C8A8><D7A2>
|
||||
#endregion
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"apollo": {
|
||||
"AppId": "ApiMicroservice",
|
||||
"Env": "DEV",
|
||||
"MetaServer": "http://119.91.207.67:18080",
|
||||
"ConfigServer": [ "http://119.91.207.67:18080" ]
|
||||
"MetaServer": "http://[xxxx]:18080",
|
||||
"ConfigServer": [ "http://[xxxx]:18080" ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user