{ "Serilog": { "Using": [ "Serilog.Enrichers.Span", "Serilog.Sinks.Console" ], "MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information", "Microsoft.AspNetCore.Authentication": "Debug", "Microsoft.AspNetCore": "Warning", "Microsoft.AspNetCore.SignalR": "Debug", "Microsoft.AspNetCore.Http.Connections": "Debug", "System": "Warning" } }, "WriteTo": [ { "Name": "Console", "Args": { //"outputTemplate": "time=\"{Timestamp:yyyy-MM-dd HH:mm:ss}\" level={Level:w3} category={SourceContext} trace={TraceId}{NewLine}msg=\"{Message:lj}\"{NewLine}error=\"{Exception}\"{NewLine}", "outputTemplate": "[{Timestamp:HH:mm:ss} {Level}] {SourceContext} [{TraceId}]{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}", "theme": "Serilog.Sinks.SystemConsole.Themes.ConsoleTheme::None, Serilog.Sinks.Console" } } //{ // "Name": "File", // "Args": { // "path": "logs/log-.txt", // "rollingInterval": "Day" // } //} ], "Enrich": [ "FromLogContext", "WithSpan" ] }, "AllowedHosts": "*", "DeviceConfigs": { "Address": "http://192.168.100.101/xml", "Authorize": true, "ReceiveKey": "E1BBD1BB-A269-44", "SendKey": "2A-BA92-160A3B1D", "Expired": 86400 //认证过期时间(秒) }, "ConnectionStrings": { "CallCenter": "server=db.fengwo.com;Database=callcenter;Uid=dev;Pwd=fengwo11!!;SslMode=none;", "Redis": "192.168.100.223:6379" }, "Swagger": true, "Cors": { "Origins": [ "http://localhost:8888","http://localhost:8695","http://callcenter-admin.fengwo.com", "http://admin.call.fengwo.com" ] }, "WorkTimeSettings": { "LineSetting": [ { "NumNo": "12345", "MorningBegin": "00:00", "MorningEnd": "12:00", "AfterBegin": "12:00", "AfterEnd": "23:59", "WorkDay": [ 1, 2, 3, 4, 5, 6, 0 ], "WorkCategory": "", "RestCategory": "", "WorkToGroup": "600", "RestToGroup": "600" }, { "NumNo": "12333", "MorningBegin": "07:00", "MorningEnd": "12:00", "AfterBegin": "12:00", "AfterEnd": "23:00", "WorkDay": [ 1, 2, 3, 4, 5, 6, 0 ], "WorkCategory": "", "RestCategory": "", "WorkToGroup": "604", "RestToGroup": "600" }, { "NumNo": "12319", "MorningBegin": "00:00", "MorningEnd": "12:00", "AfterBegin": "12:00", "AfterEnd": "23:59", "WorkDay": [ 1, 2, 3, 4, 5, 6, 0 ], "WorkCategory": "", "RestCategory": "", "WorkToGroup": "600", "RestToGroup": "600" }, { "NumNo": "12315", "MorningBegin": "00:00", "MorningEnd": "12:00", "AfterBegin": "12:00", "AfterEnd": "23:59", "WorkDay": [ 1, 2, 3, 4, 5, 6, 0 ], "WorkCategory": "", "RestCategory": "", "WorkToGroup": "", "RestToGroup": "" } ] }, "RecordSettings": { "Remote": "http://192.168.100.100/mcc/Recorder/", "Local": "http://192.168.100.36:50001/Recorder/" }, "IdentityConfiguration": { "Password": { "RequiredLength": 8, "RequireNonAlphanumeric": true, "RequireLowercase": true, "RequireUppercase": true }, "User": { "RequireUniqueEmail": false }, "SignIn": { "RequireConfirmedAccount": false }, "Lockout": { "MaxFailedAccessAttempts": 5, "DefaultLockoutTimeSpan": "00:10:00" }, "Account": { "DefaultPassword": "Fwkj@789" }, "Jwt": { "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1", "Issuer": "hotline_server", "Audience": "hotline", "Scope": "hotline_api", "Expired": 86400 //seceonds } } }