|
|
@@ -140,11 +140,7 @@ public class TencentAdsApiClientFactory {
|
|
|
* @return TencentAds实例
|
|
|
*/
|
|
|
public TencentAds getDefaultTencentAds() {
|
|
|
- String accessToken = tencentAdsConfig.getAccessToken();
|
|
|
- if (accessToken == null || accessToken.isEmpty()) {
|
|
|
- throw new IllegalStateException("未配置默认的access token");
|
|
|
- }
|
|
|
- return createTencentAds(accessToken);
|
|
|
+ return createTencentAds("");
|
|
|
}
|
|
|
|
|
|
/**
|