添加搜索用户
This commit is contained in:
parent
d985a60308
commit
5ebd42daa5
@ -12,7 +12,6 @@ type CodeAuthRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CodeAuthResponseData struct {
|
type CodeAuthResponseData struct {
|
||||||
*requests.RpcRequest
|
|
||||||
RefreshToken string `json:"refreshToken"`
|
RefreshToken string `json:"refreshToken"`
|
||||||
RefreshTokenExpires int64 `json:"refreshTokenExpires"`
|
RefreshTokenExpires int64 `json:"refreshTokenExpires"`
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
|
@ -12,7 +12,6 @@ type GetUserInfoRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetUserInfoResponseData struct {
|
type GetUserInfoResponseData struct {
|
||||||
*requests.RpcRequest
|
|
||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@ type RefreshTokenRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RefreshTokenResponseData struct {
|
type RefreshTokenResponseData struct {
|
||||||
*requests.RpcRequest
|
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
TokenExpires int64 `json:"tokenExpires"`
|
TokenExpires int64 `json:"tokenExpires"`
|
||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
|
@ -10,14 +10,13 @@ type SearchUserRequest struct {
|
|||||||
Uid string `position:"Body" field:"uid" default:"" `
|
Uid string `position:"Body" field:"uid" default:"" `
|
||||||
}
|
}
|
||||||
|
|
||||||
type SearchUserRequestData struct {
|
type SearchUserResponseData struct {
|
||||||
*requests.RpcRequest
|
|
||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SearchUserResponse struct {
|
type SearchUserResponse struct {
|
||||||
*responses.BaseResponse
|
*responses.BaseResponse
|
||||||
Data CodeAuthResponseData `json:"data"`
|
Data SearchUserResponseData `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateSearchUserRequest() (req *SearchUserRequest) {
|
func CreateSearchUserRequest() (req *SearchUserRequest) {
|
||||||
|
Loading…
Reference in New Issue
Block a user