修改配置文件和提示
This commit is contained in:
@@ -38,25 +38,10 @@ namespace IRaCIS.Core.API
|
||||
})
|
||||
.Build();
|
||||
|
||||
#region Id Generate long类型
|
||||
|
||||
|
||||
//// 创建 IdGeneratorOptions 对象,请在构造函数中输入 WorkerId:
|
||||
//var options = new IdGeneratorOptions(1);
|
||||
////options.WorkerIdBitLength = 10;
|
||||
|
||||
//YitIdHelper.SetIdGenerator(options);
|
||||
|
||||
//var newId = YitIdHelper.NextId();
|
||||
|
||||
#endregion
|
||||
|
||||
NewId.SetProcessIdProvider(new CurrentProcessIdProvider());
|
||||
|
||||
for (int i= 0; i < 10;i++ )
|
||||
{
|
||||
Console.WriteLine(NewId.NextGuid());
|
||||
}
|
||||
|
||||
|
||||
|
||||
//// Serilog
|
||||
|
||||
@@ -11,20 +11,12 @@
|
||||
//,"hang": "Server=ZHOU;Database=IRaCIS;User ID=sa;Password=sa123456;",
|
||||
|
||||
},
|
||||
"HttpReports": {
|
||||
"Transport": {
|
||||
"CollectorAddress": "http://123.56.181.144:6099/",
|
||||
"DeferSecond": 10,
|
||||
"DeferThreshold": 100
|
||||
},
|
||||
"Server": "http://localhost:6100/",
|
||||
"Service": "IRaCIS",
|
||||
"Switch": true,
|
||||
//"RequestFilter": [ "/api/health/*", "/HttpReports*" ],
|
||||
"WithRequest": true,
|
||||
"WithResponse": true,
|
||||
"WithCookie": false,
|
||||
"WithHeader": true
|
||||
"BasicSystemConfig": {
|
||||
|
||||
"OpenUserComplexPassword": false,
|
||||
|
||||
"OpenSignDocumentBeforeWork": false
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -11,20 +11,12 @@
|
||||
"RemoteNew": "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_New_Tet;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true",
|
||||
"Remote8099": "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_Test;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true"
|
||||
},
|
||||
"HttpReports": {
|
||||
"Transport": {
|
||||
"CollectorAddress": "http://123.56.181.144:6099/",
|
||||
"DeferSecond": 10,
|
||||
"DeferThreshold": 100
|
||||
},
|
||||
"Server": "http://123.56.181.144:8060/",
|
||||
"Service": "IRaCIS_8060",
|
||||
"Switch": true,
|
||||
//"RequestFilter": [ "/api/health/*", "/HttpReports*" ],
|
||||
"WithRequest": true,
|
||||
"WithResponse": true,
|
||||
"WithCookie": false,
|
||||
"WithHeader": true
|
||||
"BasicSystemConfig": {
|
||||
|
||||
"OpenUserComplexPassword": true,
|
||||
|
||||
"OpenSignDocumentBeforeWork": true
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,19 +9,10 @@
|
||||
"ConnectionStrings": {
|
||||
"RemoteNew": "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_New_Tet;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true"
|
||||
},
|
||||
"HttpReports": {
|
||||
"Transport": {
|
||||
"CollectorAddress": "http://123.56.181.144:6099/",
|
||||
"DeferSecond": 10,
|
||||
"DeferThreshold": 100
|
||||
},
|
||||
"Server": "http://192.168.1.2:8000/",
|
||||
"Service": "IRaCIS_1.2_8000",
|
||||
"Switch": true,
|
||||
//"RequestFilter": [ "/api/health/*", "/HttpReports*" ],
|
||||
"WithRequest": true,
|
||||
"WithResponse": true,
|
||||
"WithCookie": false,
|
||||
"WithHeader": true
|
||||
"BasicSystemConfig": {
|
||||
|
||||
"OpenUserComplexPassword": false,
|
||||
|
||||
"OpenSignDocumentBeforeWork": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user