diff --git a/board/main.go b/board/main.go index e58cf64..7657467 100644 --- a/board/main.go +++ b/board/main.go @@ -90,7 +90,7 @@ func githubCallbackHandler(c *gin.Context) { c.AbortWithStatusJSON(http.StatusBadRequest, gin.H{"error": fmt.Errorf("授权失败: %s", err.Error())}) return } - log.Println("token:", token) + log.Println("token:", &token.AccessToken) // 使用 token 获取 GitHub 用户信息 client := github.NewClient(oauthConf.Client(context.Background(), token))