From 644770a6c2c6ed9a95b3b3c5f28f33537c109716 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 26 Feb 2021 21:29:16 +0800 Subject: [PATCH] aa --- platformapi/mtwmapi/mtwmapi_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/mtwmapi/mtwmapi_test.go b/platformapi/mtwmapi/mtwmapi_test.go index 7ac89ba0..3db54bf0 100644 --- a/platformapi/mtwmapi/mtwmapi_test.go +++ b/platformapi/mtwmapi/mtwmapi_test.go @@ -22,10 +22,10 @@ func init() { // api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "") // ζžœε›­ - api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "") + // api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "") //商袅 - // api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_gYtTGPVDP6pTDLECwp1BFA") //token_nH_IlcWQKAkZBqklwItNRw + api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_gYtTGPVDP6pTDLECwp1BFA") //token_nH_IlcWQKAkZBqklwItNRw cookieStr := ` acctId=62884810; token=0_0_vJux6rcmm0XIzoI885_aew-gnfofUw9SR-a-QkLw*; brandId=-1; wmPoiId=-1; ` @@ -57,7 +57,7 @@ func TestGetAccessToken(t *testing.T) { } func TestGetAccessToken2(t *testing.T) { - result, err := api.GetAccessToken("code_nsX2gj8sQFcB0bYr0iVJtg") + result, err := api.GetAccessToken2("11086818") //refresh_token_pLG7Jw7g9mu7oOzNSuJIUg if err != nil { t.Fatal(err) }