2023-11-08 21:53:07 +08:00

23 lines
451 B
Go

package commonApiStructs
type RequestPage struct {
Page int `json:"page"`
Limit int `json:"limit"`
Keyword string `json:"keyword"`
}
type RequestDeleteIds[T int | uint] struct {
Ids []T `json:"ids"`
}
type VerificationRequest struct {
CodeID string `json:"codeId"`
VCode string `json:"vCode"`
}
type VerificationResponse struct {
CodeID string `json:"codeId"`
Result bool `json:"result"`
Message string `json:"message"`
}