mtwm token

This commit is contained in:
苏尹岚
2021-03-01 09:32:17 +08:00
parent 644770a6c2
commit 0d210d3558
5 changed files with 51 additions and 110 deletions

View File

@@ -63,3 +63,11 @@ func TestGetAccessToken2(t *testing.T) {
}
t.Log(utils.Format4Output(result, false))
}
func TestRefreshAccessToken(t *testing.T) {
result, err := api.RefreshAccessToken("refresh_token_gVyfEOya1mIpVE1pkntLrw") //refresh_token_pLG7Jw7g9mu7oOzNSuJIUg
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}