fix: 管理员登录类型
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-14 00:46:06 +08:00
parent 4d4eb9145e
commit 5cc8efc9e9
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}