抖音二维码

This commit is contained in:
邹宗楠
2022-06-08 18:16:57 +08:00
parent 7df9d95734
commit 5a2e8d7cc1
6 changed files with 63 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ func (a *API) GetTiktokOauth(code string) (*TiktokOauthResone, error) {
tokenReq["code"] = code
tokenReq["secret"] = a.GetSecret()
tokenReq["anonymous_code"] = ""
result, err := a.AccessAPI2("https://developer.toutiao.com/api/apps/v2/jscode2session", tokenReq)
result, err := a.AccessAPI2(GetTiktokOauth, tokenReq)
if err != nil {
return nil, err
}