瀏覽代碼

头条操作记录获取接口

sunzhen 4 年之前
父節點
當前提交
b8ed35c254

+ 3 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/report/service/impl/BytedanceInterfaceServiceImpl.java

@@ -148,7 +148,9 @@ public class BytedanceInterfaceServiceImpl implements IBytedanceInterfaceService
             }
 
             //按类型入库
-            insertLog(operationType, records);
+            if(records !=null && records.size()!=0){
+                insertLog(operationType, records);
+            }
 
             if(page < totalPage){
                 logSearchByPage(page+1, pageSize, token, accountId, objectId, operationType, startTime, endTime);