{ "App": { "CorsOrigins": [ "https://ideship.com" ] }, "Serilog": { "MinimumLevel": { "Default": "Debug", "Override": { "Microsoft.AspNetCore": "Information" } }, "Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId" ], "WriteTo": [ { "Name": "Async", "Args": { "configure": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext} - {Message:lj}{NewLine}{Exception}", "formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog" } }, { "Name": "FeiShu", "Args": { "outputTemplate": "{SourceContext} - {Message:lj}{NewLine}{Exception}", "minimumLogLevel": "Error" } } ] } } ] }, "FeiShuNotice": { "Webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/94e24bce-619d-4b3b-936c-e206353ce802", "BatchSize": 10, "BatchIntervalSeconds": 10, "EnableFeiShuExceptionSubscribe": true, "Skip40X": false, "WriteBody": true, "WriteStack": true, "MaxLength": 3000 }, "JwtSettings": { "SecretKey": "YourSuperSecretKeyThatIsAtLeast32CharactersLong!", "Issuer": "SimpleAdmin", "Audience": "SimpleAdminClient", "ExpiryInMinutes": 600, "RefreshExpiryInDays": 7 }, "FileStorage": { "Provider": "Cos", "Cos": { "SecretId": "AKIDdOxIOGuKVSAetteBTbZLtCG6i5D6k9JE", "SecretKey": "kEWbWDPPAhz2qQq4FF5kBOXTAcpnkY8U", "Region": "ap-guangzhou", "Bucket": "ideship-1308574410", "BaseUrl": "https://cos.ideship.com", "DurationSecond": 3600, "UploadDurationSecond": 600, "SignUrls": true } }, "ObjectStorage": { "Provider": "TencentCos", "SignUrlsByDefault": true, "DefaultSignedUrlExpiresSeconds": 900, "TencentCos": { "SecretId": "AKIDdOxIOGuKVSAetteBTbZLtCG6i5D6k9JE", "SecretKey": "kEWbWDPPAhz2qQq4FF5kBOXTAcpnkY8U", "Region": "ap-guangzhou", "Bucket": "ideship-1308574410", "BaseUrl": "https://cos.ideship.com", "UseHttps": true, "SignUrls": true } } }