Browse Source

修改封面和标题上报

jsonwang 3 years ago
parent
commit
eaf3f88a99

+ 4 - 9
BFFramework/Classes/Enums/Enums.swift

@@ -129,15 +129,10 @@ public  enum  PAGESOURCE: String {
     case sp_shanyinApp_main = "shanyinApp-main"
     //页面曝光上报:“我的”页面曝光
     case sp_shanyinApp_mine = "shanyinApp-mine"
-    
-    //编辑标题和封面
-    case sp_user_music_videos_create_post = "user-music-videos-create-post"
+  
 
 }
-
-// MARK: - objectType
-var ssss = "sssss"
-let ot_home_tabBtn:String = "\(ssss)xxxxxx"
+ 
 /// objectType
 public  enum  objectType: String {
     /*************** tab点击相关pageSource ***************/
@@ -273,8 +268,8 @@ public  enum  objectType: String {
     case ot_shanyinApp_viewPage_mineTab = "shanyinApp_viewPage_mineTab"
     
     //编辑标题和封面
-    case ot_weapp_musicVideoCreate_post_changeTitle = "weapp_musicVideoCreate_post_changeTitle"
-    case ot_weapp_musicVideoCreate_post_changeCover = "weapp_musicVideoCreate_post_changeCover"
+    case ot_shanyinApp_clickButton_changeTitle = "shanyinApp_clickButton_changeTitle"
+    case ot_shanyinApp_clickButton_changeCover = "shanyinApp_clickButton_changeCover"
 
 
 }

+ 2 - 2
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointPublicController.swift

@@ -1162,7 +1162,7 @@ extension PQStuckPointPublicController {
         publicTitleView.isHidden = false
         
         
-        PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_weapp_musicVideoCreate_post_changeTitle, pageSource: .sp_user_music_videos_create_post, extParams:  ["videoId":videoData?.uniqueId ?? ""], remindmsg: "")
+        PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeTitle, pageSource: .sp_stuck_publishSyncedUp, extParams:  ["videoId":videoData?.uniqueId ?? "","rootPageSource":reCreateData != nil ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
     }
     
     @objc func settingCoverImage() {
@@ -1194,7 +1194,7 @@ extension PQStuckPointPublicController {
             self?.navigationController?.pushViewController(imageSelected, animated: true)
         }
         
-        PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_weapp_musicVideoCreate_post_changeCover, pageSource: .sp_user_music_videos_create_post, extParams:  ["videoId":videoData?.uniqueId ?? ""], remindmsg: "")
+        PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeCover, pageSource: .sp_stuck_publishSyncedUp, extParams:  ["videoId":videoData?.uniqueId ?? "","rootPageSource":reCreateData != nil ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
    
     }