调整 ChirpStackListener

This commit is contained in:
2025-09-29 19:17:42 +08:00
parent ee8039b301
commit 4f730cf58f
4 changed files with 106 additions and 56 deletions

View File

@@ -73,7 +73,7 @@ type DeviceTemplate struct {
// Description 提供了关于此设备类型的更多详细信息。
Description string `json:"description"`
// Category 将模板分类为传感器、执行器或复合设备。
// Category 将模板分类为传感器、执行器
Category DeviceCategory `gorm:"not null;index" json:"category"`
// Commands 存储了一个从“动作名称”到“原始指令”的映射。