v1.0.0
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user