From 5cc8efc9e94e97b9d83f83da12063543f8140030 Mon Sep 17 00:00:00 2001 From: icechen Date: Fri, 14 Jan 2022 00:46:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=A1=E7=90=86=E5=91=98=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/zeus/service/lark/internal/lark/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/zeus/service/lark/internal/lark/user.go b/app/zeus/service/lark/internal/lark/user.go index 6668acc..622aa2b 100644 --- a/app/zeus/service/lark/internal/lark/user.go +++ b/app/zeus/service/lark/internal/lark/user.go @@ -8,7 +8,7 @@ import ( func (l Lark) Auth(code string) (*authen.UserAccessTokenInfo, error) { return l.userService.Authens.AccessToken(core.WrapContext(context.Background()), &authen.AuthenAccessTokenReqBody{ - GrantType: "", + GrantType: "authorization_code", Code: code, }).Do() }