Untitled
unknown
plain_text
2 years ago
554 B
8
Indexable
type ServerRes struct {
ServerId string `json:"server_id"`
ServerName string `json:"server_name"`
}
type UserReq struct {
UserId string `json:"user_id"`
}
type UserRes struct {
UserId string `json:"user_id"`
UserName string `json:"user_name"`
}
type ApplyCodeV2Req struct {
Code string `json:"code"`
UserId string `json:"user_id"`
ServerId int `json:"server_id"`
}
// Req user: user_id, server_id
// code
type ApplyCodeV2Res struct {
Status int `json:"status"`
Message string `json:"message"`
}Editor is loading...