|
@@ -214,7 +214,7 @@ public class PQEventTrackViewModel: NSObject {
|
|
|
// / - businessType: <#businessType description#>
|
|
|
// / - targetUid: <#targetUid description#>
|
|
|
// / - shareId: <#shareId description#>
|
|
|
- public class func shareReportUpload(isShareVideo: Bool = true, screenType: Int = 1, videoId: String, pageSource: PAGESOURCE, recommendId: String?, recommendLogVO: String?,flowPool:String?, abInfoData: String?, measureType: Int?, measureId: Int?, businessType: businessType?, targetUid: Int?, shareId: String = "",extParams: [String: Any]? = nil) {
|
|
|
+ public class func shareReportUpload(isShareVideo: Bool = true, screenType: Int = 1, videoId: String, pageSource: PAGESOURCE, recommendId: String?, recommendLogVO: String?,flowPool:String?, abInfoData: String?, measureType: Int?, measureId: Int?, businessType: businessType?, targetUid: Int?, shareId: String = "",playId:String?,extParams: [String: Any]? = nil) {
|
|
|
DispatchQueue.global().async {
|
|
|
var url: String = PQENVUtil.shared.longvideoapi
|
|
|
switch screenType {
|
|
@@ -227,7 +227,7 @@ public class PQEventTrackViewModel: NSObject {
|
|
|
default:
|
|
|
break
|
|
|
}
|
|
|
- var params: [String: Any] = ["type": isShareVideo ? "1" : "2", "videoId": videoId, "pageSource": pageSource.rawValue, "playId": PQSingletoVideoPlayer.shared.playId, "targetUid": targetUid ?? 0, "shareDepth": "0"]
|
|
|
+ var params: [String: Any] = ["type": isShareVideo ? "1" : "2", "videoId": videoId, "pageSource": pageSource.rawValue, "playId": playId ?? "", "targetUid": targetUid ?? 0, "shareDepth": "0"]
|
|
|
if extParams != nil {
|
|
|
params["extParams"] = dictionaryToJsonString(extParams!)
|
|
|
}
|