Browse Source

添加分享 + 暂不分享都跳转到个人中心

jsonwang 3 years ago
parent
commit
5be745ecca

+ 4 - 3
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointPublicController.swift

@@ -1123,13 +1123,12 @@ extension PQStuckPointPublicController {
             // 点击上报:分享朋友圈
             // 点击上报:分享朋友圈
             PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_click_shareWechatMoment, pageSource: .sp_stuck_publishSyncedUp, extParams: ["videoId": videoData?.uniqueId ?? ""], remindmsg: "卡点视频数据上报-(点击上报:分享朋友圈)")
             PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_click_shareWechatMoment, pageSource: .sp_stuck_publishSyncedUp, extParams: ["videoId": videoData?.uniqueId ?? ""], remindmsg: "卡点视频数据上报-(点击上报:分享朋友圈)")
         case 3:
         case 3:
-            
-            backBtnClick()
-            
+ 
             // 点击上报:完成
             // 点击上报:完成
             PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_click_finished, pageSource: .sp_stuck_publishSyncedUp, extParams: ["videoId": videoData?.uniqueId ?? ""], remindmsg: "卡点视频数据上报-(点击上报:完成)")
             PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_click_finished, pageSource: .sp_stuck_publishSyncedUp, extParams: ["videoId": videoData?.uniqueId ?? ""], remindmsg: "卡点视频数据上报-(点击上报:完成)")
             navigationController?.viewControllers = [(navigationController?.viewControllers.first)!]
             navigationController?.viewControllers = [(navigationController?.viewControllers.first)!]
             // 发送通知
             // 发送通知
+            postNotification(name: cFinishedPublishedNotiKey)
             postNotification(name: cFinishSharedNotiKey)
             postNotification(name: cFinishSharedNotiKey)
 
 
         default:
         default:
@@ -1178,6 +1177,8 @@ extension PQStuckPointPublicController {
                 cShowHUB(superView: nil, msg: "分享成功")
                 cShowHUB(superView: nil, msg: "分享成功")
                 self?.navigationController?.viewControllers = [(self?.navigationController?.viewControllers.first)!]
                 self?.navigationController?.viewControllers = [(self?.navigationController?.viewControllers.first)!]
                 // 发送通知
                 // 发送通知
+                postNotification(name: cFinishedPublishedNotiKey)
+                
                 postNotification(name: cFinishSharedNotiKey)
                 postNotification(name: cFinishSharedNotiKey)
             }
             }
         }
         }