移除ota_target_device表中的type 字段

This commit is contained in:
eafonyang
2026-06-30 17:42:06 +08:00
parent 23f712cf86
commit 6e8aa239e8
5 changed files with 107 additions and 20 deletions
+1 -2
View File
@@ -52,11 +52,10 @@ type BlackList struct {
CreateAt time.Time `json:"create_at"`
}
// OTATargetDevice OTA 定向设备
// OTATargetDevice OTA 灰度升级设备
type OTATargetDevice struct {
ID int `json:"id"`
OTAID int `json:"ota_id"`
MacAddr string `json:"mac_addr"`
Type int `json:"type"`
CreateAt time.Time `json:"create_at"`
}