Explorar o código

头条操作记录获取接口

sunzhen %!s(int64=4) %!d(string=hai) anos
pai
achega
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);