109 lines
3.0 KiB
JSON
Raw Permalink Normal View History

2025-06-04 09:42:48 +08:00
{
"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",
2025-06-23 14:22:59 +08:00
"WMSDb": "Server=.;Database=Yulin; User ID=sa; Password=123;TrustServerCertificate=True"
2025-06-04 09:42:48 +08:00
},
"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"
2025-06-24 13:58:06 +08:00
},
"Scanner": [
{
//人工扫纱扫码枪
"Id": 1,
"IP": "127.0.0.1",//"192.168.3.202",
"Port": 2002
2025-06-24 13:58:06 +08:00
},
{
//料箱扫码枪
"Id": 2,
"IP": "127.0.0.1",//"192.168.3.120",
"Port": 2003
2025-06-24 13:58:06 +08:00
}
],
"Balance": [
{
//丝锭
2025-06-24 13:58:06 +08:00
"Id": 1,
"IP": "127.0.0.1",
"Port": 9102
2025-06-24 13:58:06 +08:00
},
{
//装箱
2025-06-24 13:58:06 +08:00
"Id": 2,
"IP": "192.168.3.217",
"Port": 9101
2025-06-24 13:58:06 +08:00
}
],
"Printer": [
{
//丝锭
"Id": 1,
"IP": "192.168.3.99",
"Port": 9110
},
{
//装箱
"Id": 2,
"IP": "192.168.3.100",
"Port": 9111
}
],
"Plc": {
//PLC
"IP": "192.168.3.30",
"Port":502
}
2025-06-04 09:42:48 +08:00
}