pmc afa88c142b feat: 实现设备动态绑定方案(步骤1-5)
- 步骤1: MacAddressLoginView 增强,返回 code=4010(未绑定)/4011(不存在),支持自动激活
- 步骤2: 新增 bind_status 接口,设备端轮询查询绑定状态(无需认证)
- 步骤3: 新增 register 设备自注册接口,首次开机自动注册(无需认证)
- 步骤4: UserDeviceSerializer 增加 mac_address 字段
- 步骤5: WebSocket 新增 device_info 消息类型,支持设备状态上报和广播

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 15:53:33 +08:00
2026-03-17 14:37:42 +08:00
2026-03-17 15:03:12 +08:00
2026-03-17 13:17:02 +08:00
Description
洛天依
1.3 MiB
Languages
TypeScript 57.8%
Python 40.3%
HTML 1.3%
CSS 0.3%
Dockerfile 0.1%
Other 0.1%