对接
This commit is contained in:
@@ -9,6 +9,7 @@ type LiveClientLoginRequest struct {
|
||||
|
||||
type LiveClientRegisterRequest struct {
|
||||
Username string `json:"username" binding:"required"`
|
||||
Nickname string `json:"nickname"`
|
||||
Password string `json:"password" binding:"required"`
|
||||
ConfirmPassword string `json:"confirmPassword" binding:"required"`
|
||||
}
|
||||
@@ -34,6 +35,10 @@ type LiveClientAccountResponse struct {
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type LiveClientBalanceResponse struct {
|
||||
DiamondBalance int64 `json:"diamondBalance"`
|
||||
}
|
||||
|
||||
type LiveClientAuthResponse struct {
|
||||
User *LiveClientAccountResponse `json:"user"`
|
||||
Token string `json:"token"`
|
||||
|
||||
Reference in New Issue
Block a user