62 lines
2.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"App": {
"SelfUrl": "https://localhost:44386",
"CorsOrigins": "https://*.WMS.com",
"RedirectAllowedUrls": "http://localhost:4200,https://localhost:44396"
},
"ConnectionStrings": {
//"WMSDb": "Server=113.141.94.252,51197;Database=syc_wms_DB; User ID=syc; Password=syc@123456;TrustServerCertificate=True",
"WMSDb": "Server=.;Database=Yulin; User ID=sa; Password=123;TrustServerCertificate=True"
},
"AuthServer": {
"Authority": "https://localhost:44386",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "WMS_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "nkxeH0GZ7oStykJT"
},
"JwtSetting": {
"Algorithms": "HS256",
"ValidateIssuerSigningKey": true,
"SecurityKey": "phqmowczmbdblwlycdl==sywodcgediwnfuszz156gwsf7r8e9s5gw61ffe8-dw9++dgw6e46f5a1s36W51",
"ValidateIssuer": true,
"Issuer": "www.phqmo.com",
"ValidateAudience": true,
"Audience": "www.phqmo.blog.com",
"ValidateLifetime": true,
"ExpiredTime": 120,
"ClockSkew": 2
},
"CAP": {
"DefaultGroupName": "syc.wms.queue",
"FailedRetryInterval": 60, // 重试的间隔时间 单位:秒
"UseStorageLock": true, // 启用基于数据库的分布式锁
"ConsumerThreadCount": 1, //消费者线程并行处理消息的线程数当这个值大于1时将不能保证消息执行的顺序。
"CollectorCleaningInterval": 300, //收集器删除已经过期消息的时间间隔。
"FailedRetryCount": 50, //重试的最大次数
"FallbackWindowLookbackSeconds": 240, //配置重试处理器拾取 Scheduled 或 Failed 状态消息的回退时间窗。
"SucceedMessageExpiredAfter": 86400, //成功消息的过期时间(秒)
"FailedMessageExpiredAfter": 1296000, //失败消息的过期时间(秒)
"EnableSubscriberParallelExecute": false, //是否批量消费
"EnablePublishParallelSend": false,
"RabbitMQ": {
"HostName": "113.141.94.252", //"192.168.35.10",
"Port": 5672,
"UserName": "wms",
"Password": "wms@123",
"VirtualHost": "/",
"ExchangeName": "amq.topic",
"PublishConfirms": true,
"BasicQosOptions": 10
},
"SqlServerOptions": {
"Schema": "dbo",
"ConnectionString": "WMSDb"
}
},
"Redis": {
"IsEnabled": true,
"Configuration": "127.0.0.1:6379,defaultDatabase=0"
}
}