From 453d666dfe2c236688a5f6a864d8fdb875e92667 Mon Sep 17 00:00:00 2001 From: martin <1047853491@qq.com> Date: Tue, 7 Jul 2020 18:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/sdk.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk/sdk.go b/sdk/sdk.go index b0045b1..af65a5f 100644 --- a/sdk/sdk.go +++ b/sdk/sdk.go @@ -114,8 +114,6 @@ func ExcuteOapi(url string, oauthAppId string, oauthAppSecret string, body strin timestamp := time.Now().UnixNano() / 1e6 nativeSignature := strconv.FormatInt(timestamp, 10) - oauthAppId = "dingoayheivmu34mylzrzg" - oauthAppSecret = "PeQfl0uBtO3VLr-Feix5cIEWM9Oo81Mhec-SRiO2SPiEPU18fg0YZaB7fHXVkX3U" afterHmacSHA256 := encrypt.SHA256(nativeSignature, oauthAppSecret) afterBase64 := encrypt.BASE64(afterHmacSHA256) afterUrlEncode := encrypt.URLEncode(afterBase64)