|
|
@@ -31,7 +31,7 @@ namespace DataVAPI |
|
|
|
SugarDb.Conn = Configuration["DbConnectionstring"].ToString(); |
|
|
|
DataBus.connStr = Configuration["mongoDB.connStr"].ToString(); |
|
|
|
DataBus.dbName = Configuration["mongoDB.dbName"].ToString(); |
|
|
|
//ProcessServer.Instance.Initialize(); |
|
|
|
ProcessServer.Instance.Initialize(); |
|
|
|
//注册swagger服务 |
|
|
|
services.AddSwaggerUp(); |
|
|
|
services.AddControllers(); |
|
|
|