feat: payment refund

This commit is contained in:
zzw
2026-10-07 09:28:12 +08:00
parent a39ab003f4
commit a4c04b9c83
17 changed files with 258 additions and 116 deletions
+11
View File
@@ -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"`