...
|
...
|
@@ -22,7 +22,7 @@ type UpdateCompanyCommand struct { |
|
|
}
|
|
|
|
|
|
func (updateCompanyCommand *UpdateCompanyCommand) Valid(validation *validation.Validation) {
|
|
|
validation.SetError("CustomValid", "未实现的自定义认证")
|
|
|
//validation.SetError("CustomValid", "未实现的自定义认证")
|
|
|
}
|
|
|
|
|
|
func (updateCompanyCommand *UpdateCompanyCommand) ValidateCommand() error {
|
...
|
...
|
|