7
0

添加搜索用户

This commit is contained in:
liaokaishan 2020-08-10 12:12:05 +08:00
parent d985a60308
commit 5ebd42daa5
4 changed files with 2 additions and 6 deletions

View File

@ -12,7 +12,6 @@ type CodeAuthRequest struct {
}
type CodeAuthResponseData struct {
*requests.RpcRequest
RefreshToken string `json:"refreshToken"`
RefreshTokenExpires int64 `json:"refreshTokenExpires"`
Token string `json:"token"`

View File

@ -12,7 +12,6 @@ type GetUserInfoRequest struct {
}
type GetUserInfoResponseData struct {
*requests.RpcRequest
User User `json:"user"`
}

View File

@ -12,7 +12,6 @@ type RefreshTokenRequest struct {
}
type RefreshTokenResponseData struct {
*requests.RpcRequest
Token string `json:"token"`
TokenExpires int64 `json:"tokenExpires"`
User User `json:"user"`

View File

@ -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) {