tiktok
This commit is contained in:
@@ -3,6 +3,7 @@ package tiktok
|
||||
import (
|
||||
"errors"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
// 获取抖音登录授权2
|
||||
@@ -12,6 +13,7 @@ func (a *API) GetTiktokOauth(code string) (*TiktokOauthResone, error) {
|
||||
tokenReq["code"] = code
|
||||
tokenReq["secret"] = a.GetSecret()
|
||||
tokenReq["anonymous_code"] = ""
|
||||
globals.SugarLogger.Debug("打印appid,secret", tokenReq["appid"], tokenReq["secret"])
|
||||
result, err := a.AccessAPI2(GetTiktokOauth, tokenReq)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user