You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
246 B
9 lines
246 B
2 years ago
|
package gitee
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// GetRedirectUri 获取登录地址
|
||
|
func (app *App) GetRedirectUri() string {
|
||
|
return fmt.Sprintf("https://gitee.com/oauth/authorize?client_id=%s&redirect_uri=%s&response_type=code", app.ClientID, app.RedirectUri)
|
||
|
}
|