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