【feat】固件版本md5检测

This commit is contained in:
XM-GO
2023-10-05 14:11:47 +08:00
parent 26a3bb7137
commit 982bdd3776
7 changed files with 322 additions and 4 deletions

View File

@@ -75,6 +75,7 @@ type ProductOta struct {
Version string `json:"version" gorm:"type:varchar(64);comment:固件版本" validate:"required"`
IsLatest bool `json:"isLatest" gorm:"comment:是最新固件"`
Url string `json:"url" gorm:"type:varchar(128);comment:下载地址" validate:"required"`
Check string `json:"check" gorm:"type:varchar(128);comment:md5校验值"`
Description string `json:"description" gorm:"type:varchar(255);comment:说明"`
}