feat: payment refund
This commit is contained in:
@@ -24,6 +24,17 @@ func (p LoginValidator) GetMessage() validate.ValidatorMessages {
|
||||
}
|
||||
}
|
||||
|
||||
type GetOpenidValidator struct {
|
||||
Code string `validate:"required,max=128"`
|
||||
}
|
||||
|
||||
func (p GetOpenidValidator) GetMessage() validate.ValidatorMessages {
|
||||
return validate.ValidatorMessages{
|
||||
"Code.required": "Code 不能为空",
|
||||
"Code.max": "Code 过长",
|
||||
}
|
||||
}
|
||||
|
||||
type UserItemsValidator struct {
|
||||
Mobile string
|
||||
Page int32 `validate:"omitempty,min=1"`
|
||||
|
||||
Reference in New Issue
Block a user