Skip to content

Commit bebd443

Browse files
committed
fix
1 parent 3d4698f commit bebd443

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ func main() {
3737
tokenData, err := MsTokenRequest(clientId, clientSecret, *clientCode)
3838
if err != nil {
3939
fmt.Printf("获取token时发生错误\r\n%s", err.Error())
40+
_ = readLine()
41+
return
4042
}
4143
fmt.Printf("获取到token(%v)\r\n", len(tokenData.AccessToken))
4244
fmt.Printf("获取到refresh-token(%v)\r\n", len(tokenData.RefreshToken))

0 commit comments

Comments
 (0)