Skip to content

Commit

Permalink
fix(tvupadmin): struct case sensitive problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa committed Jul 1, 2021
1 parent 85a8ffd commit ee1cffa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions model/tvupadmin/OsRomDo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ package tvupadmin

// OsRomDO
type OsRomDO struct {
// 主键ID
// 主键
Id int64 `json:"id,omitempty" xml:"id,omitempty"`
// 版本
// 关联的版本ID
VersionId int64 `json:"version_id,omitempty" xml:"version_id,omitempty"`
// 基础版本
// 基准版本ID
BaseVersionId int64 `json:"base_version_id,omitempty" xml:"base_version_id,omitempty"`
// 下载地址
DownloadPath string `json:"download_path,omitempty" xml:"download_path,omitempty"`
// 下载MD5
// 文件MD5
Downloadmd5 string `json:"downloadmd5,omitempty" xml:"downloadmd5,omitempty"`
// 大小
Size string `json:"size,omitempty" xml:"size,omitempty"`
// 分片数
// 切片数
Splitnum int64 `json:"splitnum,omitempty" xml:"splitnum,omitempty"`
// 删除标识
// 是否删除
IsDelete string `json:"is_delete,omitempty" xml:"is_delete,omitempty"`
// 创建时间
GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
Expand Down
8 changes: 4 additions & 4 deletions model/tvupadmin/OsVersionAuditDO.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ package tvupadmin
type OsVersionAuditDO struct {
// 主键ID
Id int64 `json:"id,omitempty" xml:"id,omitempty"`
// 内部设备型号
// 型号名
ModelName string `json:"model_name,omitempty" xml:"model_name,omitempty"`
// 设备型号
// 内部型号名
RealTypeName string `json:"real_type_name,omitempty" xml:"real_type_name,omitempty"`
// 版本
// 版本号
Version string `json:"version,omitempty" xml:"version,omitempty"`
// 描述
// 发布说明
ReleaseNote string `json:"release_note,omitempty" xml:"release_note,omitempty"`
// 审核状态
AuditStatus string `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type YunosTvpubadminDeviceOsupgradedetailResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 具体的数据对象
Object *OsVersionAuditDo `json:"object,omitempty" xml:"object,omitempty"`
Object *OsVersionAuditDO `json:"object,omitempty" xml:"object,omitempty"`
}

0 comments on commit ee1cffa

Please sign in to comment.