|
|
@@ -56,12 +56,10 @@ public class BytedanceProjectServiceImpl implements IBytedanceProjectService {
|
|
|
}
|
|
|
Integer code = resultObject.getInteger("code");
|
|
|
if (null == code || !code.equals(0)) {
|
|
|
- log.error("获取广告列表接口异常==》accountId:{},message:{},code{}", accountId, resultObject.getString("message"), code);
|
|
|
+ log.error("获取广告列表接口异常==》accountId:{},返回信息:{}", accountId, resultObject);
|
|
|
if (code == 40102 && resultObject.getString("message").equals("access_token已过期")) {
|
|
|
sendAuthFailure(accountId);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
return;
|
|
|
}
|
|
|
JSONArray data = resultObject.getJSONObject("data").getJSONArray("list");
|
|
|
@@ -93,6 +91,7 @@ public class BytedanceProjectServiceImpl implements IBytedanceProjectService {
|
|
|
Map<Long, JSONObject> projectInfo = getProjectInfo(accountId, token, projectIds, 1);
|
|
|
this.check(accountId, token, promotionList, projectInfo);
|
|
|
}
|
|
|
+
|
|
|
@Override
|
|
|
public void sendAuthFailure(Long accountId) {
|
|
|
String redisKey = "sendAuthFailure_" + accountId;
|