fix: id validate

master
howell 4 years ago
parent 1882fef3b6
commit da8d39a94c

@ -179,7 +179,7 @@ func (o logic) All() (res []string) {
}
type CompanySureApply struct {
ID uint `json:""`
ID uint `json:"id" validate:"required`
UserID uint `json:"-"`
}

Loading…
Cancel
Save