新增磅单管理功能,支持免密接口和数据同步,更新相关控制器、实体和服务,优化权限管理,确保系统的灵活性和可扩展性。

This commit is contained in:
geht
2026-05-06 15:30:31 +08:00
parent b03cbeff9b
commit 71b8d94da8
48 changed files with 4205 additions and 3 deletions

View File

@@ -134,6 +134,10 @@ public class StompWebSocketService : ISignalRService
await SendFrameAsync(
BuildSubscribeFrame("sub-mes-suppliers", "/topic/sync/mes-suppliers"),
cancellationToken).ConfigureAwait(false);
// 磅单数据变更:订阅 /topic/sync/mes-weight-records
await SendFrameAsync(
BuildSubscribeFrame("sub-mes-weight-records", "/topic/sync/mes-weight-records"),
cancellationToken).ConfigureAwait(false);
// 订阅服务端 PONG 回复(应用层假在线检测)
await SendFrameAsync(