admin loginitems, longinkickedout
This commit is contained in:
@@ -120,3 +120,14 @@ func (p LoginRoutesValidator) GetMessage() validate.ValidatorMessages {
|
||||
"ServiceId.required": "服务ID不能为空",
|
||||
}
|
||||
}
|
||||
|
||||
type LoginKickedOutValidator struct {
|
||||
Id int64 `validate:"required"`
|
||||
}
|
||||
|
||||
// GetMessage 提示消息
|
||||
func (p LoginKickedOutValidator) GetMessage() validate.ValidatorMessages {
|
||||
return validate.ValidatorMessages{
|
||||
"Id.required": "ID不能为空",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user