Merge branch 'develop' of git.ailuowan.com:zzw/lone-services into develop
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 21s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 18s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 15s
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 21s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 18s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 15s
This commit is contained in:
@@ -14,6 +14,8 @@ type Version struct {
|
||||
Status uint8 `gorm:"column:status;type:tinyint(1);default:1;NOT NULL" json:"status"`
|
||||
Reason string `gorm:"column:reason;type:varchar(32);default:'';NOT NULL" json:"reason"`
|
||||
Type uint8 `gorm:"column:type;type:tinyint(1);default:0;NOT NULL" json:"type"`
|
||||
PackageMd5 string `gorm:"column:package_md5;type:varchar(32);default:'';NOT NULL" json:"package_md5"`
|
||||
PackageSha256 string `gorm:"column:package_sha256;type:varchar(64);default:'';NOT NULL" json:"package_sha256"`
|
||||
AdminId int64 `gorm:"column:admin_id;type:int(11);default:0;NOT NULL" json:"admin_id"`
|
||||
AdminName string `gorm:"column:admin_name;type:varchar(32);default:'';NOT NULL" json:"admin_name"`
|
||||
CreatedAt utils.CustomTime `gorm:"column:created_at;type:datetime" json:"created_at"`
|
||||
@@ -32,6 +34,8 @@ type VersionInfo struct {
|
||||
Status uint8 `gorm:"column:status;type:tinyint(1);default:1;NOT NULL" json:"status"`
|
||||
Reason string `gorm:"column:reason;type:varchar(32);default:'';NOT NULL" json:"reason"`
|
||||
Type uint8 `gorm:"column:type;type:tinyint(1);default:0;NOT NULL" json:"type"`
|
||||
PackageMd5 string `gorm:"column:package_md5;type:varchar(32);default:'';NOT NULL" json:"package_md5"`
|
||||
PackageSha256 string `gorm:"column:package_sha256;type:varchar(64);default:'';NOT NULL" json:"package_sha256"`
|
||||
}
|
||||
|
||||
type VersionStatus struct {
|
||||
|
||||
Reference in New Issue
Block a user