|
@@ -20,7 +20,7 @@ public class BFEventTrackAdaptor: NSObject {
|
|
|
/// - extParams: extParams 扩展字段,为json对象
|
|
|
/// - remindmsg: remindmsg 打印提示信息
|
|
|
/// - Returns: <#description#>
|
|
|
- public class func baseReportUpload(logType: statisticsLogType = .st_log_type_simpleevent, businessType: businessType?, objectType: objectType?, pageSource: PAGESOURCE?, params: [String: Any]? = nil, eventData: [String: Any]? = nil, extParams: [String: Any]? = nil, commonParams: [String: Any]?) {
|
|
|
+ public class func baseReportUpload(logType: statisticsLogType = .st_log_type_simpleevent, businessType: businessType?, objectType: objectType?, pageSource: PAGESOURCE?, params: [String: Any]? = nil, eventData: [String: Any]? = nil, extParams: [String: Any]? = nil, commonParams: [String: Any]? = nil, remindmsg:String? = nil) {
|
|
|
BFBaseEventTrack.bf_frontendReportUpload(url: PQENVUtil.shared.commonapi + staticsFrontendReportUrl, logType: logType.rawValue, businessType: businessType?.rawValue, objectType: objectType?.rawValue, pageSource: pageSource?.rawValue, params: params, eventData: eventData, extParams: extParams, commonParams: commonParams)
|
|
|
}
|
|
|
|
|
@@ -36,7 +36,7 @@ public class BFEventTrackAdaptor: NSObject {
|
|
|
/// - videoIds: <#videoIds description#>
|
|
|
/// - playId: <#playId description#>
|
|
|
/// - headVideoId: <#headVideoId description#>
|
|
|
- public class func videoRelationReportUpload(reportLogType: reportLogType, videoData: BFVideoItemProtocol?, pageSource: PAGESOURCE? = nil, businessType: businessType?, objectType: objectType? = nil, extParams: [String: Any]? = nil, shareId: String? = nil, videoIds: String? = nil, playId: String? = nil, headVideoId: String? = nil, projectId: String?, parentProjectId: String?, rootProjectId: String?, canProduce: Int?, parentVideoId: String?, commonParams: [String: Any]?) {
|
|
|
+ public class func videoRelationReportUpload(reportLogType: reportLogType, videoData: BFVideoItemProtocol?, pageSource: PAGESOURCE? = nil, businessType: businessType?, objectType: objectType? = nil, extParams: [String: Any]? = nil, shareId: String? = nil, videoIds: String? = nil, playId: String? = nil, headVideoId: String? = nil, projectId: String? = nil, parentProjectId: String? = nil, rootProjectId: String? = nil, canProduce: Int? = nil, parentVideoId: String? = nil, commonParams: [String: Any]? = nil) {
|
|
|
DispatchQueue.global().async {
|
|
|
var tempExtParams: [String: Any] = extParams ?? [:]
|
|
|
if videoData?.topicData != nil {
|
|
@@ -126,7 +126,7 @@ public class BFEventTrackAdaptor: 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 = "", playId: String?, wxOpenId: String?,rootPageTimestamp:Int64, extParams: [String: Any]? = nil, commonParams: [String: Any]?) {
|
|
|
+ public class func shareReportUpload(isShareVideo: Bool = true, screenType: Int = 1, videoId: String, pageSource: PAGESOURCE, recommendId: String? = nil, recommendLogVO: String? = nil, flowPool: String?, abInfoData: String? = nil, measureType: Int? = nil, measureId: Int?, businessType: businessType? = nil, targetUid: Int? = nil, shareId: String = "", playId: String? = nil, wxOpenId: String? = nil, rootPageTimestamp:Int64 = Int64(Date().timeIntervalSince1970), extParams: [String: Any]? = nil, commonParams: [String: Any]? = nil) {
|
|
|
DispatchQueue.global().async {
|
|
|
var url: String = PQENVUtil.shared.longvideoapi
|
|
|
switch screenType {
|