Browse Source

1.修改埋点上报

wenweiwei 3 years ago
parent
commit
9df37e1d09

+ 3 - 0
BFFramework/Classes/EventTrack/ViewModel/PQEventTrackViewModel.swift

@@ -140,6 +140,9 @@ public class PQEventTrackViewModel: NSObject {
             if headVideoId != nil, (headVideoId?.count ?? 0) > 0 {
                 tempExtParams["headVideoId"] = (headVideoId ?? "0")
             }
+            if videoId.count > 0 {
+                tempExtParams["videoId"] = videoId
+            }
             var url: String = PQENVUtil.shared.longvideoapi
             switch reportLogType {
             case .reportLogType_view: