You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
611 B

8 months ago
package response
type TerminalPant struct {
NewVer int `json:"new_ver"` //是否有新版本:0:否 1:是
Ver string `json:"ver"` //最新程序版本号
UpdateTime string `json:"update_time"` //设定的预更新时间
UrgentRepair int `json:"urgent_repair"` //是否紧急修复更新标识:0:否 1:是
}
type TerminalUpdateGet struct {
Ver string `json:"ver"` //最新程序版本号
Url string `json:"url"` //更新下载地址
Md5 string `json:"md5"` //更新文件md5
}
type TerminalUpdatePut struct {
BoxID string `json:"box_id"` //盒子ID
}