store
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
2026-09-16 17:21:36 +08:00
parent 647abf73f6
commit b6cc44140f
12 changed files with 291 additions and 24 deletions
+13
View File
@@ -263,3 +263,16 @@ func (p StoreWebPayPasswordValidator) GetMessage() validate.ValidatorMessages {
"Password.required": "支付密码不能为空",
}
}
type ApplyEditValidator struct {
Id int64 `form:"id" json:"id" validate:"required"`
Reason string `form:"reason" json:"reason" validate:"required"`
}
// GetMessage 提示消息
func (p ApplyEditValidator) GetMessage() validate.ValidatorMessages {
return validate.ValidatorMessages{
validate.FieldId: validate.FieldIdValue,
"Reason.required": "理由不能为空",
}
}