|
|
@@ -160,8 +160,8 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
if (bytedanceCdpProjectMapper.replaceBytedanceByteAppInfo(list, advertiserId) > 0)
|
|
|
log.info("---账户({})抖小信息更新成功", advertiserId);
|
|
|
} else {
|
|
|
- //40110请求超频
|
|
|
- if (40110 == code && count <= 3) {
|
|
|
+ //40110请求超频 51010 内部服务超时
|
|
|
+ if ((40110 == code || 51010 == code) && count <= 3) {
|
|
|
Thread.sleep(700);
|
|
|
getByteAppInfoVo(advertiserId, searchType, page, count + 1);
|
|
|
} else {
|
|
|
@@ -219,7 +219,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
JSONArray list = data.getJSONArray("list");
|
|
|
if (!Check.isNull(list))
|
|
|
if (bytedanceCdpProjectMapper.replaceBytedanceWxAppInfo(list, advertiserId) > 0)
|
|
|
- log.info("---账户({})微小更新信息成功", advertiserId);
|
|
|
+ log.info("---账户({})微小信息更新成功", advertiserId);
|
|
|
} else {
|
|
|
//40110请求超频
|
|
|
if (40110 == code && count <= 3) {
|
|
|
@@ -392,13 +392,4 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- public static void main(String[] args) {
|
|
|
- Long l = DateUtils.dt2milli("2025-03-03" + " 00:00:00");
|
|
|
- Long l2 = DateUtils.dt2milli("2025-03-03" + " 23:59:59");
|
|
|
-
|
|
|
- System.out.println(Integer.valueOf(l + ""));
|
|
|
- System.out.println(l);
|
|
|
- System.out.println(l2);
|
|
|
- }
|
|
|
}
|