|
|
@@ -143,6 +143,7 @@ public class BytedanceMiniAppServiceImpl implements IBytedanceMiniAppService {
|
|
|
JSONArray content = new JSONArray();
|
|
|
if (!Check.isNull(jsonObject)) {
|
|
|
Integer code = jsonObject.getInteger("err_no");
|
|
|
+ String errMsg = jsonObject.getString("err_msg");
|
|
|
if (code == 0) {
|
|
|
JSONObject data = jsonObject.getJSONObject("data");
|
|
|
|
|
|
@@ -164,7 +165,9 @@ public class BytedanceMiniAppServiceImpl implements IBytedanceMiniAppService {
|
|
|
}
|
|
|
} else {
|
|
|
log.error("[{}]抖小ma_ecpm拉取失败{}~{},返回信息:{}", appId, startEventTime, endEventTime, s);
|
|
|
- insertErrorLog(isLog, startEventTime, endTime, "ma_ecpm:" + appId, "daily", s);
|
|
|
+ if (errMsg == null || !errMsg.contains("access_token")) {
|
|
|
+ insertErrorLog(isLog, startEventTime, endTime, "ma_ecpm:" + appId, "daily", s);
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
} else {
|