huang
a202b2da8a
feat(03.1-01): 建立设备实时 Gateway 调用链路,替换 mock 数据
- GetRealtimeStatus() device case 新增 Gateway sync-info 实时调用(IMEI/SN 优先,gatewayClient nil 安全)
- 新增 mapSyncRespToDeviceGatewayInfo() 将 SyncDeviceInfoResp 映射为 B 端 DeviceGatewayInfo DTO
- 新增 strPtr() 辅助函数(空字符串→nil,防止 JSON 出现大量空字符串字段)
- client_asset.go 删除 buildMockDeviceRealtime(),改为调用 assetService.GetRealtimeStatus() 获取真实数据
- 新增 mapDeviceGatewayInfoToClientInfo() 将 B 端 DeviceGatewayInfo 映射为 C 端 DeviceRealtimeInfo
- Gateway 调用失败时 DeviceRealtime 返回 null,不阻断主流程
2026-03-28 13:21:02 +08:00
..
2026-02-26 16:38:52 +08:00
2026-02-11 17:13:42 +08:00
2026-03-16 23:29:42 +08:00
2026-03-28 13:21:02 +08:00
2026-02-25 16:27:58 +08:00
2026-03-28 13:17:52 +08:00
2026-02-26 16:38:52 +08:00
2026-03-19 10:56:50 +08:00
2026-03-21 11:33:57 +08:00
2026-03-28 10:38:44 +08:00
2026-03-19 10:56:50 +08:00
2026-01-30 11:40:36 +08:00
2026-03-28 11:38:14 +08:00
2026-03-28 10:38:53 +08:00
2026-03-28 13:19:09 +08:00
2026-03-14 18:27:28 +08:00
2026-01-30 11:40:36 +08:00
2026-02-25 16:27:58 +08:00
2026-02-11 17:13:42 +08:00
2026-03-14 18:27:28 +08:00
2026-03-19 13:26:54 +08:00
2026-03-28 10:39:47 +08:00
2026-01-30 11:40:36 +08:00
2026-03-27 22:50:18 +08:00
2026-03-28 10:38:24 +08:00
2026-03-28 10:39:00 +08:00
2026-03-28 10:42:58 +08:00
2026-02-03 10:06:13 +08:00
2026-03-21 11:33:06 +08:00
2026-02-26 16:38:52 +08:00
2026-03-19 10:56:50 +08:00
2026-03-27 23:29:05 +08:00
2026-02-26 14:55:46 +08:00
2026-03-17 14:08:26 +08:00
2026-03-14 18:27:28 +08:00
2026-03-19 10:56:50 +08:00
2026-03-19 17:39:43 +08:00
2026-03-19 10:56:50 +08:00
2026-01-30 11:40:36 +08:00
2026-01-30 11:40:36 +08:00
2026-03-16 23:29:11 +08:00