2025-01-20 17:36:03 +08:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
|
|
|
|
type Auth {
|
|
|
|
Base
|
|
|
|
Token string `json:"token"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Base {
|
|
|
|
Code int `json:"code"`
|
|
|
|
Message string `json:"message,omitempty"`
|
2025-01-22 11:52:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type PageBase {
|
|
|
|
Page int `json:"page" form:"page,default=1"`
|
|
|
|
PageSize int `json:"page_size" form:"page_size,default=20"`
|
2025-01-20 17:36:03 +08:00
|
|
|
}
|