第三方登录添加gitee,修改url

This commit is contained in:
junleea 2025-04-28 13:39:20 +08:00
parent 39adf3f1bd
commit f1b0294b3b
1 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,10 @@ type GitHubOAuthRequest struct {
} }
type GiteeOAuthRequest 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', //'grant_type': 'authorization_code',
GrantType string `json:"grant_type"` GrantType string `json:"grant_type"`
} }