diff --git a/proto/tool.go b/proto/tool.go index 16b9578..f5ef7a6 100644 --- a/proto/tool.go +++ b/proto/tool.go @@ -114,7 +114,10 @@ type GitHubOAuthRequest struct { } type GiteeOAuthRequest struct { - OAuthGetTokenRequest + ClientID string `json:"client_id"` + ClientSecret string `json:"client_secret"` + Code string `json:"code"` + RedirectURI string `json:"redirect_uri" ` //'grant_type': 'authorization_code', GrantType string `json:"grant_type"` }