|
@@ -58,7 +58,7 @@ public class RefreshTokenServiceImpl implements IRefreshTokenService {
|
|
@Override
|
|
@Override
|
|
public void byteDanceRefresh(String accountId) {
|
|
public void byteDanceRefresh(String accountId) {
|
|
if (null == accountId || "".equals(accountId.trim()) || "null".equalsIgnoreCase(accountId)) {
|
|
if (null == accountId || "".equals(accountId.trim()) || "null".equalsIgnoreCase(accountId)) {
|
|
- List<CtopOauthToken> byteDanceOauthTokens = oauthTokenMapper.selectByteDanceTokens(CtopAdConstant.PLATFORM_TYPE_BYTEDANCE);
|
|
|
|
|
|
+ List<CtopOauthToken> byteDanceOauthTokens = oauthTokenMapper.selectToutiaoToken();
|
|
if (!Check.isNull(byteDanceOauthTokens)) {
|
|
if (!Check.isNull(byteDanceOauthTokens)) {
|
|
for (CtopOauthToken oauthToken : byteDanceOauthTokens) {
|
|
for (CtopOauthToken oauthToken : byteDanceOauthTokens) {
|
|
oauthTokenService.getByteDanceAccessToken(oauthToken);
|
|
oauthTokenService.getByteDanceAccessToken(oauthToken);
|