Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukari316 committed Dec 22, 2021
1 parent 3d4698f commit bebd443
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func main() {
tokenData, err := MsTokenRequest(clientId, clientSecret, *clientCode)
if err != nil {
fmt.Printf("获取token时发生错误\r\n%s", err.Error())
_ = readLine()
return
}
fmt.Printf("获取到token(%v)\r\n", len(tokenData.AccessToken))
fmt.Printf("获取到refresh-token(%v)\r\n", len(tokenData.RefreshToken))
Expand Down

0 comments on commit bebd443

Please sign in to comment.