山东雷驰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
2.9 KiB

3 months ago
{
"AllowedHosts": "*",
//"AllowedOrigins": "http://localhost:5001;http://10.75.52.2:5001;http://localhost:5005;http://10.75.52.2:5005",
"AllowedOrigins": "http://localhost:4200;http://localhost:5005",
"Serilog": {
"MinimumLevel": {
//"Default": "Debug"
"Default": "Information"
//"Override": {
// "Microsoft": "Warning",
// "System": "Warning",
// "Hangfire": "Warning"
//}
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"Configure": [
{
"Name": "Console"
},
{
"Name": "File",
"Args": {
"Path": "logs/.log",
"RollingInterval": "Day",
"OutputTemplate": "{Timestamp:HH:mm:ss.fff} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
"RetainedFileCountLimit": 30
}
}
//{
// "Name": "Elasticsearch",
// "Args": {
// "nodeUris": "http://localhost:9200",
// "indexFormat": "kean-{0:yyyy-MM-dd}",
// "autoRegisterTemplate": true
// }
//}
]
}
}
]
},
"Swagger": {
"Title": "Kean.Presentation.Rest",
"Version": "v1",
"Contact": {
"Name": "Kean",
"Email": "snr4978@163.com"
}
},
"Database": {
"Default": {
"DriverClass": "Kean.Infrastructure.Database.MssqlDapperDriver",
"ConnectionString": "Data Source=localhost;Initial Catalog=WMS_CORE_LC;User ID=sa;Password=`123qwe;TrustServerCertificate=true"
//"ConnectionString": "Data Source=10.75.52.2;Initial Catalog=WMS_CORE_LC;User ID=sa;Password=`123qwe;TrustServerCertificate=true"
}
},
"NoSql": {
"Redis": {
"Default": {
"DriverClass": "Kean.Infrastructure.NoSql.Redis.StackExchangeDriver",
"ConnectionString": "127.0.0.1:6379",
"Database": 0
}
}
},
"Orleans": {
"SiloPort": 19119,
"GatewayPort": 39009,
"ClusterId": "orleans-cluster-kean",
"ServiceId": "orleans-service-kean",
"RedisClustering": {
"ConnectionString": "127.0.0.1:6379",
"Database": 1
}
},
"Hangfire": {
"RedisStorage": {
"ConnectionString": "127.0.0.1:6379",
"Database": 2
},
"RecurringJobs": {
"WcsInputJob": "0/3 * * * * ?",
"WcsOutputJob": "0/5 * * * * ?",
"WcsStationJob": "0/5 * * * * ?",
"TVStatisticsJob": "0/5 * * * * ?",
"ClearRecordJob": "0/5 * 19-20 * * ?",
"AutoPalletOutJob": "0/5 * * * * ?"
}
},
"InterfaceUrl": {
//Եַ
"HithiumWmsWebApi": "http://localhost:5000/api/hithum/{0}"
//"HithiumWmsWebApi": "http://172.26.2.29:18080/datahubjson/HCCN/{0}"
//ʽַ
//"HithiumWmsWebApi": "http://172.19.12.135:18080/datahubjson/HCCN/{0}"
},
"SystemSetting": {
"RecordRetainTime": "-12",
"Factory": "1000"
}
}