equipment
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 12s
CI / admin (push) Successful in 10s
CI / bff (push) Successful in 10s
CI / chore (push) Successful in 10s
CI / equipment (push) Successful in 3m10s
CI / express (push) Successful in 10s
CI / product (push) Successful in 10s
CI / sale (push) Successful in 10s
CI / task (push) Successful in 10s
CI / user (push) Successful in 11s
CI / wecom (push) Successful in 10s
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 12s
CI / admin (push) Successful in 10s
CI / bff (push) Successful in 10s
CI / chore (push) Successful in 10s
CI / equipment (push) Successful in 3m10s
CI / express (push) Successful in 10s
CI / product (push) Successful in 10s
CI / sale (push) Successful in 10s
CI / task (push) Successful in 10s
CI / user (push) Successful in 11s
CI / wecom (push) Successful in 10s
This commit is contained in:
@@ -7,7 +7,7 @@ type VersionCreateValidator struct {
|
||||
Version string `form:"version" json:"version" validate:"required"`
|
||||
FirmwareSrc string `form:"firmware_src" json:"firmware_src" validate:"required"`
|
||||
Describe string `form:"describe" json:"describe" validate:"required"`
|
||||
Type uint8 `form:"type" json:"type" validate:"required"`
|
||||
Type int32 `form:"type" json:"type" validate:"required"`
|
||||
SoftSrc string `form:"soft_src" json:"soft_src"`
|
||||
AddSrc string `form:"add_src" json:"add_src"`
|
||||
SoftConfig string `form:"soft_config" json:"soft_config"`
|
||||
@@ -24,12 +24,12 @@ func (p VersionCreateValidator) GetMessage() validate.ValidatorMessages {
|
||||
}
|
||||
|
||||
type VersionEditValidator struct {
|
||||
Id int `form:"id" json:"id" validate:"required"`
|
||||
Id int64 `form:"id" json:"id" validate:"required"`
|
||||
HardwareVersion string `form:"hardware_version" json:"hardware_version" validate:"required"`
|
||||
Version string `form:"version" json:"version" validate:"required"`
|
||||
FirmwareSrc string `form:"firmware_src" json:"firmware_src" validate:"required"`
|
||||
Describe string `form:"describe" json:"describe" validate:"required"`
|
||||
Type uint8 `form:"type" json:"type" validate:"required"`
|
||||
Type int32 `form:"type" json:"type" validate:"required"`
|
||||
SoftSrc string `form:"soft_src" json:"soft_src"`
|
||||
AddSrc string `form:"add_src" json:"add_src"`
|
||||
SoftConfig string `form:"soft_config" json:"soft_config"`
|
||||
|
||||
Reference in New Issue
Block a user