Browse Source

feat: oauth

pudongliang 5 months ago
parent
commit
ea43c4398e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/moka/gdtauto/service/TencentAdsAuthService.java

+ 1 - 1
src/main/java/com/moka/gdtauto/service/TencentAdsAuthService.java

@@ -170,7 +170,7 @@ public class TencentAdsAuthService extends ServiceImpl<TencentAdsAuthMapper, Ten
             
             // 按照SDK的方法签名调用
             OauthTokenResponseData responseData = tencentAds.oauth()
-                .oauthToken(clientId, clientSecret, grantType, authorizationCode, "", redirectUri, null);
+                .oauthToken(clientId, clientSecret, grantType, authorizationCode, null, redirectUri, null);
             
             if (responseData == null) {
                 throw new Exception("获取token响应为空");