refactor: 拆分自动铺码服务为独立PrintWorker项目

1.  将原WorkService中的AutoDotCodeConsumer、RabbitMQHostedService、IQueueConsumer迁移至新的PrintWorker项目
2.  移除WorkService中冗余的PrintTool依赖文件复制配置
3.  将PrintToolV2.7相关资源移动到PrintWorker项目中统一管理
4.  从WorkService中移除AutoDotCodeConsumer的服务注册
5.  新增PrintWorker项目的完整宿主程序与配置文件
This commit is contained in:
glz
2026-06-30 17:41:00 +08:00
parent 6ec47220c2
commit ab09c24338
19 changed files with 654 additions and 417 deletions

View File

@ -77,7 +77,6 @@ builder.Services.AddRabbitMQ(builder.Configuration);
// 注册队列消费者(新增消费者只需实现 IQueueConsumer 并在此注册)
builder.Services.AddScoped<IQueueConsumer, JournalTaskReceiveConsumer>();
builder.Services.AddScoped<IQueueConsumer, AutoDotCodeConsumer>();
// 注册消费者后台服务
builder.Services.AddHostedService<RabbitMQHostedService>();