generated from pkg/go-template
fix: 管理员登录类型
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4d4eb9145e
commit
5cc8efc9e9
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
func (l Lark) Auth(code string) (*authen.UserAccessTokenInfo, error) {
|
func (l Lark) Auth(code string) (*authen.UserAccessTokenInfo, error) {
|
||||||
return l.userService.Authens.AccessToken(core.WrapContext(context.Background()), &authen.AuthenAccessTokenReqBody{
|
return l.userService.Authens.AccessToken(core.WrapContext(context.Background()), &authen.AuthenAccessTokenReqBody{
|
||||||
GrantType: "",
|
GrantType: "authorization_code",
|
||||||
Code: code,
|
Code: code,
|
||||||
}).Do()
|
}).Do()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue